This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

build exceptions issue

 
umasha narasi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my project I am using

import javax.xml.bind.JAXBException;

Above package throwing errors as, " The type javax.xml.bind.JAXBException cannot be resolved. It is indirectly referenced from required .class files"

Could anyone please help me in this issue.


 
Teena George
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Umasha,

I used to get this error (though for other imports). I am not able to reproduce the error now. Did you try cleaning and building the application?
If the error is still there, please post the code here, including your imports.

Regards,
Teena
 
Prasanna Lakshmi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Umasha,

Can you just check the types of webservices you are using in te project.
there are JAXWS rt(run time), jaxws dp. Which one is using in your project. Also make sure that jar file are in the class path
of the project.


Reply back me if you still get the same problem.


Thanks
Prasanna M


 
umasha narasi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Teena George and Prasanna Lakshmi for the valuable suggesstion.............

That issue is resolved by adding the Jar file named as "jaxb-api.jar"

Now its working fine...

Once again thanks folks..

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic