jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes ClassNotFindException? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "ClassNotFindException?" Watch "ClassNotFindException?" New topic


Sam Wang
Ranch Hand

Joined: Jul 17, 2001
Posts: 95
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?

I agree. Here's the link: http://aspose.com/file-tools
subject: ClassNotFindException?
It's not a secret anymore!