A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Module Rampart in Tomcat ClassNotFoundException
Joined: Mar 26, 2010
Jun 29, 2011 08:08:29
Hi guys, I tried to deploy the rampart module in
and I face this error:
[ERROR] The rampart-1.6.0.mar module, which is not valid, caused org/apache/axis2/modules/Module java.lang.NoClassDefFoundError: org/apache/axis2/modules/Module
I search this class and I found in apache-tomcat-7.0.12\webapps\axis2\WEB-INF\lib\axis2-kernel-1.6.0.jar
1. I copied all jar from rampart-1.6.0\lib to apache-tomcat-7.0.12\webapps\axis2\WEB-INF\lib\
2. I copied the rampart-1.6.0.mar to apache-tomcat-7.0.12\webapps\axis2\WEB-INF\modules
But I tried start tomcat, the same error alway appear:
[ERROR] The rampart-1.6.0.mar module, which is not valid, caused org/apache/axis2/modules/Module java.lang.NoClassDefFoundError: org/apache/axis2/modules/Module at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
What am I doing wrong?
Joined: Jul 05, 2011
Jul 05, 2011 03:40:18
Seems correct to me I did the same thing this morning.
have you tried getting a new version of rampart in case your download was corrupt?
or maybe it is your tomcat which is having problems?
or you could un-deploy axis2 and try again from scratch it is a quick process anyway.
have you had normal insecure web services running on axis already?
I agree. Here's the link:
subject: Module Rampart in Tomcat ClassNotFoundException
Unable to deploy Sandesha2
Plugin Axis to Tomcat
New article: Web Services Authentication with Axis 2
Axis2 Rampart Error WSPasswordCallback cannot be resolved to a type
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015