JAXB Compile Failure

Guest Author
When compile my code that uses JAXB with JDK1.5, I got an error "cannot access javax.xml.stream.XMLEventReader". There is no such error if I compile it with JDK1.6. The way to fix it is to include jsr173_api.jar in the classpath along with jaxb-api.jar, jaxb-impl.jar and jaxb1-impl.jar. This class javax.xml.stream.XMLEventReader is part of JDk1.6, that is why the compiling issue only happens to JDK1.5.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.