This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFindException?

 
Sam Wang
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i package %jwsdp_home%\common\lib\*.jar to the jwsdp-common.jar,i look at this jar and find
the jaxm-api.jar(include the class JAXMServlet.class).
When i deploy %jwsdp_home%\services\jaxm-provider.war in %j2ee_home%\bin\deploytool or %jwsdp_home%\bin\deploytool,they both say "Unexpected error in verifier, check for problems related to: [ java.lang.NoClassDefFoundError: javax/xml/messaging/JAXMServlet ]".
Another interesting thing is when i include the jwsdp-common.jar in my jbuilder's classpath,only Endpoint and URLEndpoint can see after i type "javax.xml.messaging.".if i add the jaxm-api.jar to my jbuilder's classpath,everything is ok.Then i add jaxm-api.jar to my os's classpath,JAXMServlet also is not been found.Are there any same name classes in other packages in jwsdp-ea2,or j2ee1.3?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic