I have tried to run a example from the website http://confluence.highsource.org/display/J2B/Annotate+Plugin#AnnotatePlugin-Activation. The very first schema provided in the webpage and I saved it as schema.xsd under c:\jaxb folder. Then, I ran the command 'xjc -extension schema.xsd' from command prompt and I get the similar error. Apparently xjc doesn't seem to understand this url http://annox.dev.java.net. How do I solve this?
Asked
Active
Viewed 539 times
1 Answers
0
- You have to add the annotate plugin with all the dependencies to the classpath. See this Ant build file for what dependencies are
- You have to activate the plugin using
-Xannotate
switch
Here's a sample Ant project. I'll assemble a command-line example for the next version.

lexicore
- 42,748
- 17
- 132
- 221
-
Sorry, all ok, it was me. – vbence Apr 29 '14 at 11:37