简体   繁体   中英

Jaxb Support for Netbeans 6.5

I have not been working on java for a long time, and now I am back; so I am sort of noob, particularly with Netbeans. I am using Netbeans 6.5 on Ubuntu. I want to use the Jaxb support to generate Jaxb binding from an XML schema, as documented at http://wiki.netbeans.org/NB6JAXBSample1 . But the document asks to click on "On Project node, New -> JAXB Binding or New -> Other -> XML -> JAXB Binding" but I do not find a "Jaxb binding" option. Do I need to install some plugin or some other thing?

Edit

I found that I can use the xjc tool on the command line, which should serve the purpose for now. However a Netbeans wizard will be much useful.

First you need to download the Java web service daveloper pack then just install it. it contains the in-built jaxb library.

Then u need to set the classpath of some of the jar files and then run the following command :

c:/jwsdp> xjc -p -d

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM