Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAXB Bindings - error while compiling Schema(s)

807580Oct 30 2009 — edited Nov 1 2009
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:12: 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 29 2009
Added on Oct 30 2009
6 comments
879 views