Plug-in jar is not in WEB-INF/lib, but that would not cause the issue - as
it is happening at execution time (page access), not tomcat start or
deployment.

I am not sure what additional resources are you referring to.
Tomcat 7 changelog? http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
Seach for AnnotationProcessor

Stack trace:
Caused by: java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
        at java.lang.Class.getDeclaredFields(Class.java:1743)
        at
org.apache.catalina.core.DefaultInstanceManager.processAnnotations(DefaultIn
stanceManager.java:291)
        at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceM
anager.java:137)
        at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceM
anager.java:119)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
48)
        ... 82 more
Caused by: java.lang.ClassNotFoundException: org.apache.AnnotationProcessor
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1643)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1488)
        ... 89 more



-----Original Message-----
From: Lukasz Lenart [mailto:[email protected]] 
Sent: Sunday, March 06, 2011 2:40 PM
To: Struts Developers List
Subject: Re: Tomcat 7 supported?

Another thing, the org.apache.AnnotationProcessor class is used only
by the embeddedjsp-plugin, so if you don't use it, just remove the
plugin from WEB-INF/lib

Do you have a stack trace ?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/


2011/3/6 Lukasz Lenart <[email protected]>:
> Could you point me to some additional resources ?
>
>
> Kind regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> 2011/3/6 Lee Clemens <[email protected]>:
>> Tomcat 7 changes include "Switch from AnnotationProcessor to
>> InstanceManager."
>>
>> Struts 2.2.1.1 fails to work on Tomcat 7 due to
>> java.lang.ClassNotFoundException: org.apache.AnnotationProcessor.
>>
>> Is anything being done to address this?
>> Or is Struts not going to be supported on Apache Tomcat 7?
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to