Closed GoogleCodeExporter closed 9 years ago
Thanks in advance for your help!
Original comment by yan...@gmail.com
on 21 Oct 2010 at 10:14
You just need to download JAXB from https://jaxb.dev.java.net and add it to
your project. I tested with Java 5 and version 2.2.1 of JAXB, and worked fine.
I added a note to the README to this effect. Let me know if you still have
problems. I haven't tested much with 1.5, so there may be other issues.
Original comment by plor...@gmail.com
on 22 Oct 2010 at 4:03
Cool, it worked! I added the JAXB RI 2.2.1 (JAXB2_20100511.jar) jar to my
web app's WEB-INF\lib folder ... re-deployed the sample web app and the text
now shows up (and no errors in the log).
Thanks!
Original comment by yan...@gmail.com
on 22 Oct 2010 at 3:38
Oops, said that too soon. Project works in Eclipse, but when exported to our QA
Websphere environment, server logs still shows the error. I've even added the
JAXB2_20100511.jar into the build path itself, but it didn't seem to help.
Original comment by yan...@gmail.com
on 22 Oct 2010 at 4:32
Hm, specifically, the error message mentions the GraphLoaderImpl class as the
initial source of the exception. Will adding the JAXB2_20100511.jar to the
project solve that?
[10/22/10 12:55:15:554 EDT] 00000028 WebApp E [Servlet
Error]-[/helloworld_visualization_v2.jsp]: java.lang.NoClassDefFoundError:
javax.xml.bind.JAXBException
...
...
...
at com.googlecode.sarasvati.load.GraphLoaderImpl.load(GraphLoaderImpl.java:270)
at engine_test.MemEngine_HelloWorld.<init>(MemEngine_HelloWorld.java:50)
...
...
Original comment by yan...@gmail.com
on 22 Oct 2010 at 4:57
Unfortunately, I'm not familiar with WebSphere (and don't know the specifics of
how you're deploying). Generally speaking, with a .war deploy you'd need to
extract the jaxb-api.jar and jaxb-impl.jar and copy them to the WEB-INF/lib
directory of your war.
Original comment by plor...@gmail.com
on 22 Oct 2010 at 5:06
Oh silly me, I thought JAXB2_20100511.jar was the file to include in the
path, didn't even realize that it was the JAXB installation JAR.
Anyway, ran the installation JAR, which installed the following JARs, and then
copied those new JARs to my web app's WEB-INF/lib folder
activation.jar
jaxb1-impl.jar
jaxb-api.jar
jaxb-impl.jar
jaxb-xjc.jar
jsr173_1.0_api.jar
Now I no longer get any JAXB-related ClassNotFound exceptions. Thanks!!!
Original comment by yan...@gmail.com
on 22 Oct 2010 at 7:25
1.0.4 was released quite a while ago. Marking bugs released.
Original comment by plor...@gmail.com
on 18 Oct 2012 at 1:34
Original issue reported on code.google.com by
yan...@gmail.com
on 21 Oct 2010 at 10:12