I am getting a strange classNotFound exception:
It compiles but when you try to run it on Tomcat 7 it seems Tomcat is
looking for
org/apache/commons/lang/xwork/StringUtils
instead of
org/apache/commons/lang/StringUtils
=====...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.opensymphony.xwork2.inject.ContainerImpl
$MethodInjector.inject(ContainerImpl.java:293)
... 64 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/lang/xwork/StringUtils
at
org.apache.struts2.convention.SEOActionNameBuilder.setActionSuffix(SEOActionNameBuilder.java:55)
... 69 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.lang.xwork.StringUtils
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
=========
Chris
On Mon, 2011-03-28 at 09:33 -0600, Matt Raible wrote:
> I'm currently using Struts 2.1.8 and I tried upgrading to 2.2.2. While all
> my tests pass, my app feels slower. Is there anything performance-wise
> that's changed since 2.1.x? Looks like my tests take 15 seconds longer to
> run and 22MB more in memory.
>
> mvn clean install -Dstruts.version=2.1.8
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:30.231s
> [INFO] Finished at: Mon Mar 28 09:25:28 MDT 2011
> [INFO] Final Memory: 20M/81M
>
> mvn clean install -Dstruts.version=2.2.2
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:45.934s
> [INFO] Finished at: Mon Mar 28 09:31:00 MDT 2011
> [INFO] Final Memory: 22M/81M
> [INFO]
> ------------------------------------------------------------------------
>
> On Mon, Mar 28, 2011 at 9:09 AM, Matt Raible <[email protected]> wrote:
>
> > The release notes has the wrong staging URL. It has:
> >
> > <repositories>
> > <repository>
> > <id>apache.nexus</id>
> > <name>ASF Nexus Staging</name>
> > <url>https://repository.apache.org/content/groups/snapshots-group/</url>
> > </repository></repositories>
> >
> > On Sun, Mar 27, 2011 at 4:59 AM, Lukasz Lenart <
> > [email protected]> wrote:
> >
> >> The Struts 2.2.2 test build is now available.
> >>
> >> Release notes:
> >> * [https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.2]
> >>
> >> Distribution:
> >> * [http://people.apache.org/builds/struts/2.2.2/]
> >>
> >> Maven 2 staging repository:
> >> * [
> >> https://repository.apache.org/content/repositories/orgapachestruts-042/]
> >>
> >> Once you have had a chance to review the test build, please respond
> >> with a vote on its quality:
> >>
> >> [ ] Leave at test build
> >> [ ] Alpha
> >> [ ] Beta
> >> [ ] General Availability (GA)
> >>
> >> Everyone who has tested the build is invited to vote. Votes by PMC
> >> members are considered binding. A vote passes if there are at least
> >> three binding +1s and more +1s than -1s.
> >>
> >> The vote will remain open for at least 72 hours, longer upon request.
> >> A vote can be amended at any time to upgrade or downgrade the quality
> >> of the release based on future experience. If an initial vote
> >> designates the build as "Beta", the release will be submitted for
> >> mirroring and announced to the user list. Once released as a public
> >> beta, subsequent quality votes on a build may be held on the user
> >> list.
> >>
> >> As always, the act of voting carries certain obligations. A binding
> >> vote not only states an opinion, but means that the voter is agreeing
> >> to help do the work
> >>
> >>
> >> Kind regards
> >> --
> >> Ćukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >> Warszawa JUG conference - Confitura http://confitura.pl/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]