Win a copy of Design for the Mind this week in the Design 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