• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Optaining Jars from a jar???

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm a java newbie and just need to integrate some java classes in to my new Netcool/OMNIBUS system. The instruction tells me:
Set the CLASSPATH to include the following jar files :
- from JAXWS 2.1.1 :
activation.jar
jaxb-api.jar
jaxb-impl.jar
jaxb-xjc.jar
jsr173_api.jar
sjsxp.jar
- from WSIT 1.0
webservices-api.jar
webservices-extra-api.jar
webservices-extra.jar
webservices-rt.jar
webservices-tools.jar
A former instruction tells me to get the follwoing files (JAXWS2.1.1_20070501.jar and wsit-1_0-fcs-bin-b14-09_apr_2007.jar). Starting the application (SCOM Probe) I get a message in the log: Exception in thread "main" java.lang.NoClassDefFoundError: javax.xml.bind.JAXBElement. Googling on javax.xml.bind.JAXBElement, made me understand that this class is in jaxb-api.jar. How do I get the whole bunge???

Please give me some clue to start with.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

JAXWS2.1.1_20070501.jar and wsit-1_0-fcs-bin-b14-09_apr_2007.jar


These are executable installers, not the actual jar files to be used in your application. You can extract their contents by running them:

java -jar JAXWS2.1.1_20070501.jar

java -jar wsit-1_0-fcs-bin-b14-09_apr_2007.jar

Afterwards, you should have directories with all their contents extracted (including all the jar files you're looking for).
 
reply
    Bookmark Topic Watch Topic
  • New Topic