• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

build exceptions issue  RSS feed

 
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.


 
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
 
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
Boost this thread!