java - generate classes from schema -


i have jdk1.6 , using eclipse juno verion , class path set jdk1.6.

i have created jaxb project , set project face of use jaxb 2.1 , jdk1.6.

but when try generate java classes xsd, getting below error message.

as understand if have jdk 1.6, don't need have other jaxb jars in build path of project.

error: classpath project not appear contain necessary libraries proceed class generation.

please help

no friend have add jaxb-api jar build path doesn't comes jdk

download jax-b here https://jaxb.java.net/ , puts “jaxb-api.jar” , “jaxb-impl.jar” on project classpath i.e. in buildpath

but prefer have create maven project, have add dependencies in project , maven download these dependencies maven repo, if have not define repository in maven settings.xml , make project light-weight well


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -