Hello, I want to create Java classes from a XML Schema by using JAXB Binding. However, when I do that a message error appears: "Error while compiling Schema" and then it says:

"C:\...\NetBeansProjects\myproject\build.xml:1 2: Problem: failed to create task or type import
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place."

Does anybody know what it's happening? It could be that there is a .jar missing?

Thank you very much