I am setting up a turbine 2.3 application to run using META and 2.3.1. I
setup setup.ptoperties then ran turbine:setup, then copied my templates and
src across, then java:compile then turbine:deploy. When I hit the servlets
URL I get
javax.servlet.ServletException: Servlet.init() for servlet se threw
exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
...
java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.split(Ljava/lang/String;C)[Ljava/lang/St
ring;
at
org.apache.commons.configuration.PropertiesConfiguration.load(PropertiesConf
iguration.java:305)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFile
Configuration.java:190)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFile
Configuration.java:157)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFile
Configuration.java:124)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFile
Configuration.java:63)
at
org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesCo
nfiguration.java:179)
at org.apache.turbine.Turbine.configure(Turbine.java:306)
...
Since META deployed the std. jars cannot see how this is happening. Checked
in eclipse for the commons-lang jar pulled in from the repo and it is
commons-lang-2.0.jar which does have a String[] split(String str1, Sting
str2) method. I am using Tomcat 4.1.31. I checked it does not have an
earlier version of the same jar further up the classloader heirarchy.
Ideas on what is wrong?
Thx.
David Wynter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]