This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes build exceptions issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "build exceptions issue" Watch "build exceptions issue" New topic
Author

build exceptions issue

umasha narasi
Greenhorn

Joined: Oct 19, 2009
Posts: 4
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

Joined: May 01, 2008
Posts: 82

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

Joined: Mar 24, 2009
Posts: 3
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

Joined: Oct 19, 2009
Posts: 4
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..

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: build exceptions issue
 
Similar Threads
javax.xml. bind.MarshalException - with linked exception:
JAXB Unmarshalling
Need help for calling web service
Webservice Exception
Unable to locate jaxb.properties for package