You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by David Wynter <da...@stpenable.com> on 2005/03/24 00:17:09 UTC
commons lang version problem with 2.3.1?
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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: commons lang version problem with 2.3.1?
Posted by David Wynter at roamware <da...@roamware.co.uk>.
So is 2.3.1 dead and 2.4 dev the active project now?
David
-----Original Message-----
From: David Wynter [mailto:david@stpenable.com]
Sent: 23 March 2005 23:17
To: Turbine-User
Subject: commons lang version problem with 2.3.1?
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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org