• Srtuts2实现登录界面(不连接数据库)报错(三)


    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.AprLifecycleListener init
    严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.AprLifecycleListener init
    严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.AprLifecycleListener init
    严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.AprLifecycleListener init
    严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.AprLifecycleListener init
    严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
    二月 28, 2014 11:41:20 下午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-bio-8080"]
    二月 28, 2014 11:41:20 下午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-bio-8009"]
    二月 28, 2014 11:41:20 下午 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 569 ms
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    二月 28, 2014 11:41:20 下午 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.42
    二月 28, 2014 11:41:21 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
    信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [103] milliseconds.
    二月 28, 2014 11:41:22 下午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info
    信息: Parsing configuration file [struts-default.xml]
    二月 28, 2014 11:41:22 下午 org.apache.struts2.dispatcher.Dispatcher error
    严重: Dispatcher initialization failed
    Unable to load configuration. - bean - jar:file:/D:/eclipse/workspace/Struts2/web/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:64:179
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
    	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
    	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
    	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
    	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
    	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
    	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at java.lang.Thread.run(Thread.java:722)
    Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/eclipse/workspace/Struts2/web/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:64:179
    	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)
    	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
    	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
    	... 17 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException
    	at java.lang.Class.getDeclaredConstructors0(Native Method)
    	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
    	at java.lang.Class.getDeclaredConstructors(Class.java:1853)
    	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:235)
    	... 20 more
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    	... 24 more
    
    二月 28, 2014 11:41:22 下午 org.apache.catalina.core.StandardContext filterStart
    严重: Exception starting filter struts2
    Unable to load configuration. - bean - jar:file:/D:/eclipse/workspace/Struts2/web/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:64:179
    	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501)
    	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
    	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
    	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
    	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
    	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at java.lang.Thread.run(Thread.java:722)
    Caused by: Unable to load configuration. - bean - jar:file:/D:/eclipse/workspace/Struts2/web/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:64:179
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
    	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
    	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
    	... 15 more
    Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/eclipse/workspace/Struts2/web/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:64:179
    	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)
    	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
    	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
    	... 17 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException
    	at java.lang.Class.getDeclaredConstructors0(Native Method)
    	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
    	at java.lang.Class.getDeclaredConstructors(Class.java:1853)
    	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:235)
    	... 20 more
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    	... 24 more
    
    二月 28, 2014 11:41:22 下午 org.apache.catalina.core.StandardContext startInternal
    严重: Error filterStart
    二月 28, 2014 11:41:22 下午 org.apache.catalina.core.StandardContext startInternal
    严重: Context [/Struts2] startup failed due to previous errors
    二月 28, 2014 11:41:22 下午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["http-bio-8080"]
    二月 28, 2014 11:41:22 下午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["ajp-bio-8009"]
    二月 28, 2014 11:41:22 下午 org.apache.catalina.startup.Catalina start
    信息: Server startup in 1572 ms
    


    错误原因:缺少commons-fileupload-1.3.jar


  • 相关阅读:
    ES6关于Promise的用法
    JS进阶篇--JS数组reduce()方法详解及高级技巧
    JavaScript常用数组操作方法,包含ES6方法
    揭密 Vue 的双向绑定
    JavaScript(E5,6) 正则学习总结学习,可看可不看!
    利用scons构建project
    cuda核函数再调用核函数,多层并行
    使用微信JSSDK实现图片上传
    android 自己定义水平和圆形progressbar 仅仅定义一些style就能够
    [LeetCode] 035. Search Insert Position (Medium) (C++)
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315336.html
Copyright © 2020-2023  润新知