struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hardc0d3r <hardc0...@gmail.com>
Subject Re: java.lang.NoClassDefFoundError for beanutils converter
Date Sun, 10 Feb 2008 10:35:04 GMT

Anyone? Please?

hardc0d3r wrote:
> 
> antlr.jar
> commons-beanutils.jar
> commons-digester.jar
> commons-fileupload.jar
> commons-logging.jar
> commons-validator.jar
> jakarta-oro.jar
> jstl.jar
> mysql-connector-java-3.0.17-ga-bin.jar
> standard.jar
> struts.jar
> 
> xniit2003 wrote:
>> 
>> Can you share what are the jar files you have in your lib folder.
>> 
>> On Feb 9, 2008 11:06 AM, hardc0d3r <hardc0d3r@gmail.com> wrote:
>> 
>>>
>>> i get an error every time i acces a page that basically, registers a
>>> user
>>> (insert to the database) but it still inserts the data in the database..
>>> here is the error:
>>>
>>> java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
>>>        at java.lang.Class.getDeclaredConstructors0(Native Method)
>>>        at
>>> java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>>>        at java.lang.Class.getConstructor0(Class.java:2671)
>>>        at java.lang.Class.newInstance0(Class.java:321)
>>>        at java.lang.Class.newInstance(Class.java:303)
>>>        at
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
>>> :1055)
>>>        at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>>>        at
>>> org.apache.catalina.core.StandardContext.loadOnStartup(
>>> StandardContext.java:3917)
>>>        at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
>>>        at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
>>> :759)
>>>        at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>>>        at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>>>        at
>>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java
>>> :608)
>>>        at
>>> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
>>> :535)
>>>        at
>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
>>>        at
>>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>>>        at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>>>        at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
>>> LifecycleSupport.java:119)
>>>        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>>>        at
>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>>>        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>>>        at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>>>        at
>>> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>>>        at
>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>>>        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>>>        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:585)
>>>        at
>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>>>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>>>
>>> i have read that this occurs when commons-beanutils.jar is not included
>>> in
>>> the lib folder. I am using netbeans 5.5.1 as my ide and there is a
>>> wizard
>>> that configures struts automatically. i checked the lib folder in
>>> WEB-INF
>>> and all the jar files required are in the lib folder. what can be the
>>> problem in my project?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/java.lang.NoClassDefFoundError-for-beanutils-converter-tp15368831p15368831.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError-for-beanutils-converter-tp15368831p15395076.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message