By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

struts classNotFoundException

P: 1
i am new to struts.I try running struts application in Eclipse with the tomcat plug in ..
it shows the following error:;
please help me in this...




SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c4 86f2
com.mci.os.log4j.logging.Log4jInitializer
java.lang.ClassNotFoundException: com.mci.os.log4j.logging.Log4jInitializer
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1198)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1034)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4201)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:432)
Feb 13, 2007 4:24:24 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Tom1 threw load() exception
java.lang.ClassNotFoundException: com.mci.os.log4j.logging.Log4jInitializer
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1198)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1034)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4201)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:432)
Feb 13, 2007 4:24:24 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Feb 13, 2007 4:24:24 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Tom1 threw load() exception
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Cla ss.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.loadServl et(StandardWrapper.java:1055)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4201)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:432)
Feb 13, 2007 4:24:24 PM org.apache.struts.action.ActionServlet initChain
INFO: Loading chain catalog from jar:file:/D:/Projects/struts-blank-1.3.5/WEB-INF/lib/struts-core-1.3.5.jar!/org/apache/struts/chain/chain-config.xml
Feb 13, 2007 4:24:25 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/org/apache/struts/validator/validator-rules.xml'
Feb 13, 2007 4:24:25 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Feb 13, 2007 4:24:25 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive struts-blank-1.3.5.war
Feb 13, 2007 4:24:26 PM org.apache.struts.action.ActionServlet initChain
INFO: Loading chain catalog from jar:file:/D:/apache-tomcat-5.5.17/webapps/struts-blank-1.3.5/WEB-INF/lib/struts-core-1.3.5.jar!/org/apache/struts/chain/chain-config.xml
Feb 13, 2007 4:24:26 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/org/apache/struts/validator/validator-rules.xml'
Feb 13, 2007 4:24:26 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Feb 13, 2007 4:24:27 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
Feb 13, 2007 4:24:27 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Feb 13, 2007 4:24:27 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Feb 13, 2007 4:24:27 PM org.apache.struts.action.ActionServlet initChain
INFO: Loading chain catalog from jar:file:/D:/apache-tomcat-5.5.17/webapps/kala/WEB-INF/lib/struts-core-1.3.5.jar!/org/apache/struts/chain/chain-config.xml
Feb 13, 2007 4:24:28 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/org/apache/struts/validator/validator-rules.xml'
Feb 13, 2007 4:24:28 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Feb 13, 2007 4:24:28 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Feb 13, 2007 4:24:28 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Feb 13, 2007 4:24:28 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 13, 2007 4:24:29 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 13, 2007 4:24:29 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/78 config=null
Feb 13, 2007 4:24:29 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Feb 13, 2007 4:24:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6797 ms
Feb 13 '07 #1
Share this Question
Share on Google+
1 Reply


sicarie
Expert Mod 2.5K+
P: 4,677
com.mci.os.log4j.logging.Log4jInitializer
java.lang.ClassNotFoundException: com.mci.os.log4j.logging.Log4jInitializer
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1352)
That error message is talking about log4j - do you have that installed and configured?
Feb 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.