JAXB Compile Failure
By gc on Oct 19, 2010
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.