Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-26 Thread Chris Pratt
The NoCassFoundError is not the same as the ClassNotFoundException.  It
indicates that a dependency of the listed class couldn't be found, not the
named class.  I would suggest reviewing the dependency requirements and
determining whether you've met them.
  (*Chris*)
On May 26, 2011 4:06 PM, "Emi Lu"  wrote:


RE: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-26 Thread Martin Gainty

copy xwork-core-2.2.1.jar to WEB-INF\lib

Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




Date: Thu, 26 May 2011 16:52:29 -0400
From: em...@encs.concordia.ca
To: user@struts.apache.org
Subject: When start tomcat6  always got "java.lang.NoClassDefFoundError: 
com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

Hello,
 
struts2.2.3, when tomcat6 is started, always got:
 
java.lang.NoClassDefFoundError: 
com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
 
But the class is in the attached jar file.
 
Could someone tell me why I got the exception for all action class please?
 
Thanks alot!
Emi
--
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
 
public class ActionClass  extends ActionSupport
{
public String execute() throws Exception
{
   HttpServletRequest  req = ServletActionContext.getRequest();
   HttpServletResponse res = ServletActionContext.getResponse();
   return SUCCESS;
}
}
 
==
2011-05-26 16:48:00,539 ERROR finder.ClassFinder.error:38 - Unable to 
read class [ActionClass]
java.lang.NoClassDefFoundError: 
com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
at 
com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:780)
at 
com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:165)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:376)
at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:334)
at 
org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:215)
at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
at 
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4071)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4725)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at 
org.apache.catalina.core.StandardEngine.

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Mohamed SIDI
You have to copy the jar in your classpath and redeploy your application
after, it should work

2011/5/27 Martin Gainty 

>
> copy xwork-core-2.2.1.jar to WEB-INF\lib
>
> Martin
> __
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> Date: Thu, 26 May 2011 16:52:29 -0400
> From: em...@encs.concordia.ca
> To: user@struts.apache.org
> Subject: When start tomcat6  always got "java.lang.NoClassDefFoundError:
> com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!
>
> Hello,
>
> struts2.2.3, when tomcat6 is started, always got:
>
> java.lang.NoClassDefFoundError:
> com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
>
> But the class is in the attached jar file.
>
> Could someone tell me why I got the exception for all action class please?
>
> Thanks alot!
> Emi
> --
>
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
> import org.apache.struts2.ServletActionContext;
> import com.opensymphony.xwork2.ActionSupport;
>
> public class ActionClass  extends ActionSupport
> {
>public String execute() throws Exception
>{
>   HttpServletRequest  req = ServletActionContext.getRequest();
>   HttpServletResponse res = ServletActionContext.getResponse();
>   return SUCCESS;
>}
> }
>
> ==
> 2011-05-26 16:48:00,539 ERROR finder.ClassFinder.error:38 - Unable to
> read class [ActionClass]
> java.lang.NoClassDefFoundError:
> com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
>at
>
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:780)
>at
>
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:165)
>at
>
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:376)
>at
>
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:334)
>at
>
> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>at
>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:215)
>at
>
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
>at
>
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
>at
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
>at
>
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
>at
>
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
>at
>
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
>at
>
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
>at
>
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4071)
>at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4725)
>at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>at
>
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
>at
>
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
>at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
>at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>  

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Maurizio Cucchiara
I don't think that the exception is referring to the xwork library, the
xwork library is present (see the stacktrace).
It seems rather that the xwork ClassFinder is not able to find your
ActionClass.


On 27 May 2011 09:56, Mohamed SIDI  wrote:

> You have to copy the jar in your classpath and redeploy your application
> after, it should work
>
> 2011/5/27 Martin Gainty 
>
> >
> > copy xwork-core-2.2.1.jar to WEB-INF\lib
> >
> > Martin
> > __
> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte
> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> > dient lediglich dem Austausch von Informationen und entfaltet keine
> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
> le
> > destinataire prévu, nous te demandons avec bonté que pour satisfaire
> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
> copie
> > de ceci est interdite. Ce message sert à l'information seulement et
> n'aura
> > pas n'importe quel effet légalement obligatoire. Étant donné que les
> email
> > peuvent facilement être sujets à la manipulation, nous ne pouvons
> accepter
> > aucune responsabilité pour le contenu fourni.
> >
> >
> >
> >
> > Date: Thu, 26 May 2011 16:52:29 -0400
> > From: em...@encs.concordia.ca
> > To: user@struts.apache.org
> > Subject: When start tomcat6  always got "java.lang.NoClassDefFoundError:
> > com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor"
> Error!
> >
> > Hello,
> >
> > struts2.2.3, when tomcat6 is started, always got:
> >
> > java.lang.NoClassDefFoundError:
> > com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
> >
> > But the class is in the attached jar file.
> >
> > Could someone tell me why I got the exception for all action class
> please?
> >
> > Thanks alot!
> > Emi
> > --
> >
> > import javax.servlet.http.HttpServletRequest;
> > import javax.servlet.http.HttpServletResponse;
> > import org.apache.struts2.ServletActionContext;
> > import com.opensymphony.xwork2.ActionSupport;
> >
> > public class ActionClass  extends ActionSupport
> > {
> >public String execute() throws Exception
> >{
> >   HttpServletRequest  req = ServletActionContext.getRequest();
> >   HttpServletResponse res = ServletActionContext.getResponse();
> >   return SUCCESS;
> >}
> > }
> >
> >
> ==
> > 2011-05-26 16:48:00,539 ERROR finder.ClassFinder.error:38 - Unable to
> > read class [ActionClass]
> > java.lang.NoClassDefFoundError:
> > com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor
> >at
> >
> >
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:780)
> >at
> >
> >
> com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:165)
> >at
> >
> >
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:376)
> >at
> >
> >
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:334)
> >at
> >
> >
> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
> >at
> >
> >
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:215)
> >at
> >
> >
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
> >at
> >
> >
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
> >at
> > org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
> >at
> >
> >
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
> >at
> >
> >
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
> >at
> >
> >
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
> >at
> >
> >
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
> >at
> >
> >
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4071)
> >at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4725)
> >at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
> >at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
> >at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
> >at
> >
>

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Emi Lu

Good morning,

Thank you very much for your inputs!

To figure out which jar is missing, I downloaded the xwork-core.jar and 
complied it.


The following files fixed the problem:
=
. lib/asm-4.0_RC1.jar
. lib/asm-commons-4.0_RC1.jar

For people might see the same error, a summary list of my libs (some 
libs for my other feature only, E.g., quartz, jdbc driver, etc)


---
activation.jar
antlr-3.2.jar
aopalliance-1.0.jar
asm-4.0_RC1.jar
asm-commons-4.0_RC1.jar
cglib-2.2.jar
commons-beanutils-1.8.3.jar
commons-collections-3.2.1.jar
commons-dbcp-1.2.2.jar
commons-digester-2.0.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2.5.jar
commons-logging-1.1.1.jar
commons-logging-api-1.1.1.jar
commons-pool-1.5.4.jar

displaytag-1.2.jar
displaytag-export-poi-1.2.jar
dom4j-1.6.1.jar

freemarker.jar
iText-5.0.6.jar
javassist.jar
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
jstl.jar
junit-4.8.1.jar
log4j-1.2.16.jar
mail.jar
mybatis-3.0.3.jar
mybatis-spring-1.0.0-RC3.jar
mysql-connector-java-5.1.13-bin.jar
ognl-3.0.1.jar
org.springframework.aop-3.0.5.RELEASE.jar
org.springframework.asm-3.0.5.RELEASE.jar
org.springframework.aspects-3.0.5.RELEASE.jar
org.springframework.beans-3.0.5.RELEASE.jar
org.springframework.context-3.0.5.RELEASE.jar
org.springframework.context.support-3.0.5.RELEASE.jar
org.springframework.core-3.0.5.RELEASE.jar
org.springframework.expression-3.0.5.RELEASE.jar
org.springframework.instrument-3.0.5.RELEASE.jar
org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
org.springframework.jdbc-3.0.5.RELEASE.jar
org.springframework.jms-3.0.5.RELEASE.jar
org.springframework.orm-3.0.5.RELEASE.jar
org.springframework.oxm-3.0.5.RELEASE.jar
org.springframework.spring-library-3.0.5.RELEASE.libd
org.springframework.test-3.0.5.RELEASE.jar
org.springframework.transaction-3.0.5.RELEASE.jar
org.springframework.web-3.0.5.RELEASE.jar
org.springframework.web.portlet-3.0.5.RELEASE.jar
org.springframework.web.servlet-3.0.5.RELEASE.jar
org.springframework.web.struts-3.0.5.RELEASE.jar
poi-3.8-beta1-20110307.jar
poi-ooxml-3.8-beta1-20110307.jar
poi-ooxml-schemas-3.8-beta1-20110307.jar
postgresql-9.0-801.jdbc4.jar
quartz-1.8.5.jar
slf4j-api-1.6.1.jar
spring-tx-3.0.5.RELEASE.jar
standard.jar
stax-api-1.0.1.jar
struts2-codebehind-plugin-2.2.3.jar
struts2-config-browser-plugin-2.2.3.jar
struts2-convention-plugin-2.2.3.jar
struts2-core-2.2.3.jar
struts2-dojo-plugin-2.2.3.jar
struts2-jasperreports-plugin-2.2.3.jar
struts2-jfreechart-plugin-2.2.3.jar
struts2-jquery-plugin-3.0.0.jar
struts2-spring-plugin-2.2.3.jar
struts2-tiles-plugin-2.2.3.jar

tiles-api-2.0.7.jar
tiles-core-2.0.7.jar
tiles-jsp-2.0.7.jar
xbean.jar
xwork-core-2.2.3.jar








On 05/27/2011 06:04 AM, Maurizio Cucchiara wrote:

I don't think that the exception is referring to the xwork library, the
xwork library is present (see the stacktrace).
It seems rather that the xwork ClassFinder is not able to find your
ActionClass.


On 27 May 2011 09:56, Mohamed SIDI  wrote:


You have to copy the jar in your classpath and redeploy your application
after, it should work

2011/5/27 Martin Gainty



copy xwork-core-2.2.1.jar to WEB-INF\lib

Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede

unbefugte

Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas

le

destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la

copie

de ceci est interdite. Ce message sert à l'information seulement et

n'aura

pas n'importe quel effet légalement obligatoire. Étant donné que les

email

peuvent facilement être sujets à la manipulation, nous ne pouvons

accepter

aucune responsabilité pour le contenu fourni.




Date: Thu, 26 May 2011 16:52:29 -0400
From: em...@encs.concordia.ca
To: user@struts.apache.org
Subject: When start tomcat6  always got "java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor"

Error!


Hello,

struts2.2.3, when tomcat6 is started, always got:

java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor

But the class is in the attached jar file.

Could someone tell me why I got the exception for all action class

please?


Thanks alot!
Emi
--

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class ActionClass  

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Dave Newton
Are you really using all of those S2 plugins?

You should not deploy plugins you are not using, as they may change
fundamental S2 behavior.

If nothing else it is almost certainly a bad idea to include both the
codebehind (deprecated) and convention plugins. It's unusual to use
both the Dojo and jQuery plugins simultaneously.

Dave

On Fri, May 27, 2011 at 10:03 AM, Emi Lu  wrote:
> Good morning,
>
> Thank you very much for your inputs!
>
> To figure out which jar is missing, I downloaded the xwork-core.jar and
> complied it.
>
> The following files fixed the problem:
> =
> . lib/asm-4.0_RC1.jar
> . lib/asm-commons-4.0_RC1.jar
>
> For people might see the same error, a summary list of my libs (some libs
> for my other feature only, E.g., quartz, jdbc driver, etc)
>
> ---
> activation.jar
> antlr-3.2.jar
> aopalliance-1.0.jar
> asm-4.0_RC1.jar
> asm-commons-4.0_RC1.jar
> cglib-2.2.jar
> commons-beanutils-1.8.3.jar
> commons-collections-3.2.1.jar
> commons-dbcp-1.2.2.jar
> commons-digester-2.0.jar
> commons-fileupload-1.2.2.jar
> commons-io-2.0.1.jar
> commons-lang-2.5.jar
> commons-logging-1.1.1.jar
> commons-logging-api-1.1.1.jar
> commons-pool-1.5.4.jar
>
> displaytag-1.2.jar
> displaytag-export-poi-1.2.jar
> dom4j-1.6.1.jar
>
> freemarker.jar
> iText-5.0.6.jar
> javassist.jar
> jcommon-1.0.16.jar
> jfreechart-1.0.13.jar
> jstl.jar
> junit-4.8.1.jar
> log4j-1.2.16.jar
> mail.jar
> mybatis-3.0.3.jar
> mybatis-spring-1.0.0-RC3.jar
> mysql-connector-java-5.1.13-bin.jar
> ognl-3.0.1.jar
> org.springframework.aop-3.0.5.RELEASE.jar
> org.springframework.asm-3.0.5.RELEASE.jar
> org.springframework.aspects-3.0.5.RELEASE.jar
> org.springframework.beans-3.0.5.RELEASE.jar
> org.springframework.context-3.0.5.RELEASE.jar
> org.springframework.context.support-3.0.5.RELEASE.jar
> org.springframework.core-3.0.5.RELEASE.jar
> org.springframework.expression-3.0.5.RELEASE.jar
> org.springframework.instrument-3.0.5.RELEASE.jar
> org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
> org.springframework.jdbc-3.0.5.RELEASE.jar
> org.springframework.jms-3.0.5.RELEASE.jar
> org.springframework.orm-3.0.5.RELEASE.jar
> org.springframework.oxm-3.0.5.RELEASE.jar
> org.springframework.spring-library-3.0.5.RELEASE.libd
> org.springframework.test-3.0.5.RELEASE.jar
> org.springframework.transaction-3.0.5.RELEASE.jar
> org.springframework.web-3.0.5.RELEASE.jar
> org.springframework.web.portlet-3.0.5.RELEASE.jar
> org.springframework.web.servlet-3.0.5.RELEASE.jar
> org.springframework.web.struts-3.0.5.RELEASE.jar
> poi-3.8-beta1-20110307.jar
> poi-ooxml-3.8-beta1-20110307.jar
> poi-ooxml-schemas-3.8-beta1-20110307.jar
> postgresql-9.0-801.jdbc4.jar
> quartz-1.8.5.jar
> slf4j-api-1.6.1.jar
> spring-tx-3.0.5.RELEASE.jar
> standard.jar
> stax-api-1.0.1.jar
> struts2-codebehind-plugin-2.2.3.jar
> struts2-config-browser-plugin-2.2.3.jar
> struts2-convention-plugin-2.2.3.jar
> struts2-core-2.2.3.jar
> struts2-dojo-plugin-2.2.3.jar
> struts2-jasperreports-plugin-2.2.3.jar
> struts2-jfreechart-plugin-2.2.3.jar
> struts2-jquery-plugin-3.0.0.jar
> struts2-spring-plugin-2.2.3.jar
> struts2-tiles-plugin-2.2.3.jar
>
> tiles-api-2.0.7.jar
> tiles-core-2.0.7.jar
> tiles-jsp-2.0.7.jar
> xbean.jar
> xwork-core-2.2.3.jar
>
>
>
>
>
>
>
>
> On 05/27/2011 06:04 AM, Maurizio Cucchiara wrote:
>>
>> I don't think that the exception is referring to the xwork library, the
>> xwork library is present (see the stacktrace).
>> It seems rather that the xwork ClassFinder is not able to find your
>> ActionClass.
>>
>>
>> On 27 May 2011 09:56, Mohamed SIDI  wrote:
>>
>>> You have to copy the jar in your classpath and redeploy your application
>>> after, it should work
>>>
>>> 2011/5/27 Martin Gainty
>>>

 copy xwork-core-2.2.1.jar to WEB-INF\lib

 Martin
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
>>>
>>> unbefugte

 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
 Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
>>>
>>> le

 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
>>>
>>> copie

 de ceci est interdite. Ce message sert à l'information seulement et
>>>
>>> n'aura

 pas n'importe quel effet légalement obligatoire. Étant donné que les
>>>
>>> email

 peuvent facilement être sujets à la manipulation, nous ne pouvons
>>>
>>> accepter

 aucune responsabilité pour le cont

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Emi Lu

Are you really using all of those S2 plugins?



You should not deploy plugins you are not using, as they may change
fundamental S2 behavior.

If nothing else it is almost certainly a bad idea to include both the
codebehind (deprecated) and convention plugins.


I use both struts1(history libs for some tags) + struts2.

I removed codebehind & convention jars. It seems no error for now.



It's unusual to use
both the Dojo and jQuery plugins simultaneously.


Confirmed. Two tags are used in jsp for now:

<%@ taglib prefix="sj" uri="/struts-jquery-tags"  %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>


Is dojo deprecated?

Thank you,
Emi





Dave

On Fri, May 27, 2011 at 10:03 AM, Emi Lu  wrote:

Good morning,

Thank you very much for your inputs!

To figure out which jar is missing, I downloaded the xwork-core.jar and
complied it.

The following files fixed the problem:
=
. lib/asm-4.0_RC1.jar
. lib/asm-commons-4.0_RC1.jar

For people might see the same error, a summary list of my libs (some libs
for my other feature only, E.g., quartz, jdbc driver, etc)

---
activation.jar
antlr-3.2.jar
aopalliance-1.0.jar
asm-4.0_RC1.jar
asm-commons-4.0_RC1.jar
cglib-2.2.jar
commons-beanutils-1.8.3.jar
commons-collections-3.2.1.jar
commons-dbcp-1.2.2.jar
commons-digester-2.0.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2.5.jar
commons-logging-1.1.1.jar
commons-logging-api-1.1.1.jar
commons-pool-1.5.4.jar

displaytag-1.2.jar
displaytag-export-poi-1.2.jar
dom4j-1.6.1.jar

freemarker.jar
iText-5.0.6.jar
javassist.jar
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
jstl.jar
junit-4.8.1.jar
log4j-1.2.16.jar
mail.jar
mybatis-3.0.3.jar
mybatis-spring-1.0.0-RC3.jar
mysql-connector-java-5.1.13-bin.jar
ognl-3.0.1.jar
org.springframework.aop-3.0.5.RELEASE.jar
org.springframework.asm-3.0.5.RELEASE.jar
org.springframework.aspects-3.0.5.RELEASE.jar
org.springframework.beans-3.0.5.RELEASE.jar
org.springframework.context-3.0.5.RELEASE.jar
org.springframework.context.support-3.0.5.RELEASE.jar
org.springframework.core-3.0.5.RELEASE.jar
org.springframework.expression-3.0.5.RELEASE.jar
org.springframework.instrument-3.0.5.RELEASE.jar
org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
org.springframework.jdbc-3.0.5.RELEASE.jar
org.springframework.jms-3.0.5.RELEASE.jar
org.springframework.orm-3.0.5.RELEASE.jar
org.springframework.oxm-3.0.5.RELEASE.jar
org.springframework.spring-library-3.0.5.RELEASE.libd
org.springframework.test-3.0.5.RELEASE.jar
org.springframework.transaction-3.0.5.RELEASE.jar
org.springframework.web-3.0.5.RELEASE.jar
org.springframework.web.portlet-3.0.5.RELEASE.jar
org.springframework.web.servlet-3.0.5.RELEASE.jar
org.springframework.web.struts-3.0.5.RELEASE.jar
poi-3.8-beta1-20110307.jar
poi-ooxml-3.8-beta1-20110307.jar
poi-ooxml-schemas-3.8-beta1-20110307.jar
postgresql-9.0-801.jdbc4.jar
quartz-1.8.5.jar
slf4j-api-1.6.1.jar
spring-tx-3.0.5.RELEASE.jar
standard.jar
stax-api-1.0.1.jar
struts2-codebehind-plugin-2.2.3.jar
struts2-config-browser-plugin-2.2.3.jar
struts2-convention-plugin-2.2.3.jar
struts2-core-2.2.3.jar
struts2-dojo-plugin-2.2.3.jar
struts2-jasperreports-plugin-2.2.3.jar
struts2-jfreechart-plugin-2.2.3.jar
struts2-jquery-plugin-3.0.0.jar
struts2-spring-plugin-2.2.3.jar
struts2-tiles-plugin-2.2.3.jar

tiles-api-2.0.7.jar
tiles-core-2.0.7.jar
tiles-jsp-2.0.7.jar
xbean.jar
xwork-core-2.2.3.jar








On 05/27/2011 06:04 AM, Maurizio Cucchiara wrote:


I don't think that the exception is referring to the xwork library, the
xwork library is present (see the stacktrace).
It seems rather that the xwork ClassFinder is not able to find your
ActionClass.


On 27 May 2011 09:56, Mohamed SIDIwrote:


You have to copy the jar in your classpath and redeploy your application
after, it should work

2011/5/27 Martin Gainty



copy xwork-core-2.2.1.jar to WEB-INF\lib

Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede


unbefugte


Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas


le


destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la


copie


de ceci est interdite. Ce message sert à l'information seulement et


n'aura


pas n'importe quel effet légalement obligatoire. Étant donné que les


email


peuvent facilement être sujets à la manipulation, nous ne pouvons


accepter


aucune responsabilité pour le contenu fourni.




Date: Thu, 26 May 2011 16:52:2

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Dave Newton
On Fri, May 27, 2011 at 11:29 AM, Emi Lu wrote:
> Confirmed. Two tags are used in jsp for now:
>
> <%@ taglib prefix="sj" uri="/struts-jquery-tags"              %>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

Hmm, okay.

> Is dojo deprecated?

Has been for some time, don't recall for sure how long.

Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org