Report error generated by JXL component (1)

Source: Internet
Author: User
Tags apache tomcat

JXL component reports


1. The specific error is as follows:

Usage: java org. apache. catalina. startup. catalina [-config {pathname}] [-nonaming] {-help | start | stop} 2014-5-3 17:14:13 org. apache. catalina. core. aprLifecycleListener init information: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.2014-5-3 17:14:14 org. apache. catalina. core. aprLifecycleListener init information: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], Random [true]. 17:14:15 org. apache. catalina. core. aprLifecycleListener initializeSSL information: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013) 17:14:16 org. apache. coyote. abstractProtocol init information: Initializing ProtocolHandler ["http-apr-8686"] 17:14:16 org. apache. coyote. abstractProtocol init information: Initializing ProtocolHandler ["ajp-apr-8009"] 17:14:16 org. apache. c Atalina. startup. catalina load information: Initialization processed in 3536 ms2014-5-3 17:14:16 org. apache. catalina. core. standardService startInternal information: Starting service Catalina2014-5-3 17:14:16 org. apache. catalina. core. standardEngine startInternal information: Starting Servlet Engine: Apache Tomcat/7.0.412014-5-3 17:14:29 org. apache. catalina. util. sessionIdGenerator createSecureRandom information: Creation of SecureRandom in Stance for session ID generation using [SHA1PRNG] took [1,449] milliseconds. log4j: WARN No appenders cocould be found for logger (com. opensymphony. xwork2.util. fs. defaultFileManagerFactory ). log4j: WARN Please initialize the log4j system properly. log4j: WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.2014-5-3 17:14:33 org. apache. catalina. core. serious StandardContext filterStart: Ex Ception starting filter struts2Unable to load configuration.-bean-jar: file:/D:/MyEclipse/workspace/JXL/WebRoot/WEB-INF/lib/struts2-core-2.3.16.jar! Struts-default.xml: 64: 179at 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.
 
  
(ApplicationFilterConfig. java: 107) at org. apache. catalina. core. standardContext. filterStart (StandardContext. java: 4746) at org. apache. catalina. core. standardContext. startInternal (StandardContext. java: 5399) 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 $ StartC Hild. call (ContainerBase. java: 1549) at java. util. concurrent. futureTask $ Sync. innerRun (FutureTask. java: 303) at java. util. concurrent. futureTask. run (FutureTask. java: 138) at java. util. concurrent. threadPoolExecutor $ Worker. runTask (ThreadPoolExecutor. java: 886) at java. util. concurrent. threadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 908) at java. lang. thread. run (Thread. java: 619) Caused by: Unable to load conf Iguration.-bean-jar: file:/D:/MyEclipse/workspace/JXL/WebRoot/WEB-INF/lib/struts2-core-2.3.16.jar! Struts-default.xml: 64: 179at 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 moreCaused by: Unable to load bean: type: org. apache. struts2.dispatcher. multipart. multiPartRequest class: org. Apache. struts2.dispatcher. multipart. JakartaMultiPartRequest-bean-jar: file:/D:/MyEclipse/workspace/JXL/WebRoot/WEB-INF/lib/struts2-core-2.3.16.jar! Struts-default.xml: 64: 179at 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 moreCaused by: java. lang. noClassDefFoundError: org/apache/commons/fileupload/RequestContextat java. lang. class. getDeclaredConstructors0 (Native Method) at java. lang. class. privateGetDeclaredConstructors (Class. java: 2389) at java. lang. class. getDeclaredConstructors (Class. java: 1836) at com. opensymphony. xwork2.config. providers. xmlConfigurationProvider. register (XmlConfigurationProvider. java: 235 )... 20 moreCaused by: java. lang. classNotFoundException: org. apache. commons. fileupload. requestContextat org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1714) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1559) at java. lang. classLoader. loadClassInternal (ClassLoader. java: 320 )... 24 more2014-5-3 17:14:33 org. apache. catalina. core. standardContext startInternal critical: Error filterStart2014-5-3 17:14:33 org. apache. catalina. core. standardContext startInternal severe: Context [/JXL] startup failed due to previous errors2014-5-3 17:14:35 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.41 \ webapps \ docs2014-5-3 17:14:36 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.41 \ webapps \ examples2014-5-3 17:14:39 org. apache. catalina. core. applicationContext log information: ContextListener: contextInitialized () 2014-5-3 17:14:39 org. apache. catalina. core. applicationContext log information: SessionListener: contextInitialized () 2014-5-3 17:14:40 org. apache. catalina. core. applicationContext log information: ContextListener: attributeAdded ('org. apache. jasper. compiler. tldLocationsCache ', 'org. apache. jasper. compiler. tldLocationsCache @ 1b493c6 ') 2014-5-3 17:14:40 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.41 \ webapps \ host-manager2014-5-3 17:14:40 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.41 \ webapps \ manager2014-5-3 17:14:41 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.41 \ webapps \ ROOT2014-5-3 17:14:41 org. apache. coyote. abstractProtocol start information: Starting ProtocolHandler ["http-apr-8686"] 17:14:41 org. apache. coyote. abstractProtocol start information: Starting ProtocolHandler ["ajp-apr-8009"] 17:14:41 org. apache. catalina. startup. catalina start information: Server startup in 24742 MS
 

2. Error cause

The commons-fileupload-1.3.jar is not imported


3. Solution

Import the WEB-INF to the lib folder under the commons-fileupload-1.3.jar directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.