aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "ClassNotFindException?" Watch "ClassNotFindException?" New topic
Author

ClassNotFindException?

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?


SCJP(2001)
 
wood burning stoves
 
subject: ClassNotFindException?