• Post Reply Bookmark Topic Watch Topic
  • New Topic

Optaining Jars from a jar???  RSS feed

 
Frans Streur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!