This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ClassNotFindException?
 
Similar Threads
jwsdp - paths
Problem of run ant come with jwsdp1.3
error in run Ant in Jwsdp1.3
Setting up the Java Web Services tutorial and Sun Java system appn server
JAXM confusion , using JWSDP