You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Steven Lewis <sm...@lordjoe.com> on 2001/10/19 22:40:52 UTC

NoSuchMethodError on running AXIS

OK - I am trying to get to first base with Alpha2
I run Tomcat4 adding the 4 axis jars + xerces.jar +
<TomcatBase>\webapps\axis\WEB-INF\classes in the classpath
When I try to hit a service or http://localhost:8080/axis/servlet/AxisServlet
I get the following message


java.lang.NoSuchMethodError at 
org.apache.axis.utils.Admin.list(Admin.java:507) at 
org.apache.axis.utils.Admin.listConfig(Admin.java:457) at 
org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProvider.ja 
va:123) at 
org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:213) at 
org.apache.axis.utils.Admin.processEngineConfig(Admin.java:199) at 
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java 
:116) at org.apache.axis.AxisEngine.init(AxisEngine.java:155) at 
org.apache.axis.AxisEngine.(AxisEngine.java:143)
...

Any bright ideas?????
==============================================================
LordJoe - Java Training and Consulting
http://www.LordJoe.com

Re: NoSuchMethodError on running AXIS

Posted by Jeff Turner <je...@socialchange.net.au>.
On Fri, Oct 19, 2001 at 02:05:11PM -0700, Ravi Kumar wrote:
> Since you are using Tomcat 4.0, try adding the jars (4 axis jars, Xerces.jar) to
> WEB-INF\lib instead of the servlet classpath.

Indeed. Tomcat 4 completely ignores the system classpath anyhow.

--Jeff

> 
> Rgds
> Ravi
> 
> 
> 
> Steven Lewis wrote:
> 
> > OK - I am trying to get to first base with Alpha2
> > I run Tomcat4 adding the 4 axis jars + xerces.jar +
> > <TomcatBase>\webapps\axis\WEB-INF\classes in the classpath
> > When I try to hit a service or http://localhost:8080/axis/servlet/AxisServlet
> > I get the following message
> >
> > java.lang.NoSuchMethodError at
> > org.apache.axis.utils.Admin.list(Admin.java:507) at
> > org.apache.axis.utils.Admin.listConfig(Admin.java:457) at
> > org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProvider.ja
> > va:123) at
> > org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:213) at
> > org.apache.axis.utils.Admin.processEngineConfig(Admin.java:199) at
> > org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
> > :116) at org.apache.axis.AxisEngine.init(AxisEngine.java:155) at
> > org.apache.axis.AxisEngine.(AxisEngine.java:143)
> > ...
> >
> > Any bright ideas?????
> > ==============================================================
> > LordJoe - Java Training and Consulting
> > http://www.LordJoe.com
> 

Re: NoSuchMethodError on running AXIS

Posted by Ravi Kumar <rk...@borland.com>.
Since you are using Tomcat 4.0, try adding the jars (4 axis jars, Xerces.jar) to
WEB-INF\lib instead of the servlet classpath.

Rgds
Ravi



Steven Lewis wrote:

> OK - I am trying to get to first base with Alpha2
> I run Tomcat4 adding the 4 axis jars + xerces.jar +
> <TomcatBase>\webapps\axis\WEB-INF\classes in the classpath
> When I try to hit a service or http://localhost:8080/axis/servlet/AxisServlet
> I get the following message
>
> java.lang.NoSuchMethodError at
> org.apache.axis.utils.Admin.list(Admin.java:507) at
> org.apache.axis.utils.Admin.listConfig(Admin.java:457) at
> org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProvider.ja
> va:123) at
> org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:213) at
> org.apache.axis.utils.Admin.processEngineConfig(Admin.java:199) at
> org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
> :116) at org.apache.axis.AxisEngine.init(AxisEngine.java:155) at
> org.apache.axis.AxisEngine.(AxisEngine.java:143)
> ...
>
> Any bright ideas?????
> ==============================================================
> LordJoe - Java Training and Consulting
> http://www.LordJoe.com