Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XML parsing by jaxb  RSS feed

Priya Joshi
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am new to jaxb and ejbs.

I am using jaxb to parse the xml file.

In my workspace I have created to projects one for ejb module and another for web module.

I am able to parse the xml perfectly with the web module but when I am trying the same thing in ejb module I am getting following error :
'before this i have removed all the things from web module'

[javax/xml/bind/JAXBException]: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

It seems, it is asking for some jar file and I have included all the jars in 'Java Build Path(in WASAD)' which I used in web module. In web module I had copied all the necessary jars under WEB-INF/lib folder.

Please help me!!!

Thanking you in an anticipation.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!