• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

build exceptions issue

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..

 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic