Student Management System Error (1)

Source: Internet
Author: User

1. Error description

Usage: java org. apache. catalina. startup. catalina [-config {pathname}] [-nonaming] {-help | start | stop} 2014-6-16 23:48:52 org. apache. catalina. core. aprLifecycleListener init information: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.2014-6-16 23:48:52 org. apache. catalina. core. aprLifecycleListener init information: APR capabilities: IPv6 [true], sendfile [true], accept filters [fals E], random [true]. 2014-6-16 23:48:53 org. apache. catalina. core. aprLifecycleListener initializeSSL information: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013) 23:48:54 org. apache. coyote. abstractProtocol init information: Initializing ProtocolHandler ["http-apr-8686"] 23:48:54 org. apache. coyote. abstractProtocol init information: Initializing ProtocolHandler ["ajp-apr-8009"] 23:48:54 org. a Pache. catalina. startup. catalina load information: Initialization processed in 3240 ms2014-6-16 23:48:54 org. apache. catalina. core. standardService startInternal information: Starting service Catalina2014-6-16 23:48:54 org. apache. catalina. core. standardEngine startInternal information: Starting Servlet Engine: Apache Tomcat/7.0.532014-6-16 23:48:56 org. apache. tomcat. websocket. server. wsSci onStartup: JSR 356 WebSocket (Java WebSo Cket 1.0) support is not available when running on Java 6. to suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $ CATALINA_HOME/lib or add the WebSocketJARs to the tomcat. util. scan. defajarjar.pdf. jarsToSkip property in $ CATALINA_BASE/conf/catalina. properties. note that the deprecated Tomcat 7 WebSocket API will be available. 2014-6-16 23:48:57 org. apache. catalina. util. S EssionIdGenerator createSecureRandom information: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [343] milliseconds.2014-6-16 23:48:58 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webapps \ docs2014-6-16 23:48:58 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web applicati On directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webapps \ examples2014-6-16 23:48:59 org. apache. catalina. core. applicationContext log information: ContextListener: contextInitialized () 23:48:59 org. apache. catalina. core. applicationContext log information: SessionListener: contextInitialized () 23:48:59 org. apache. catalina. core. applicationContext log information: ContextListener: attributeAdded ('org. apache. jasper. co Mpiler. tldLocationsCache ', 'org. apache. jasper. compiler. tldLocationsCache @ 5f1ba8 ') 2014-6-16 23:48:59 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webapps \ host-manager2014-6-16 23:48:59 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webap Ps \ manager2014-6-16 23:48:59 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webapps \ ROOT2014-6-16 23:48:59 org. apache. catalina. startup. hostConfig deployDirectory information: Deploying web application directory D: \ MyEclipse \ apache-tomcat-7.0.53 \ webapps \ StudentSystem2014-6-16 23:49:01 com. sun. faces. config. configureListener conte XtInitialized information: Initialize Mojarra 2.0.3 (FCS b03) 2014-6-16 23:49:02 com. sun. faces. spi. InjectionProviderFactory createInstance information of the context '/studentsystem': JSF1048: Post construct/PreDestroy comments. The ManagedBeans method marked with these annotations indicates that the annotations have been processed. 2014-6-16 23:49:03 com. opensymphony. xwork2.util. logging. jdk. jdkLogger info: Parsing configuration file [struts-default.xml] 23:49:03 com. opensymphony. xwork2.util. logging. jdk. jdkLogger error is serious: Dispatcher initialization failedUnable to load configuration. -bean-jar: file:/D:/MyEclipse/apache-tomcat-7.0.53/webapps/StudentSystem/WEB-INF/lib/struts2-core-2.3.16.3.jar! Struts-default.xml: 69: 87at 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. filterDispatcher. init (FilterDispatcher. java: 193) at org. apache. catalina. core. applicationFilterConfig. initFilter (ApplicationFilterConfig. java: 279) at org. apache. catalina. core. applicationFilterConfig. getFilter (ApplicationFilterConfig. java: 260) at org. apache. catalina. core. applicationFilterConfig.
 
  
(ApplicationFilterConfig. java: 105) at org. apache. catalina. core. standardContext. filterStart (StandardContext. java: 4809) at org. apache. catalina. core. standardContext. startInternal (StandardContext. java: 5485) at org. apache. catalina. util. lifecycleBase. start (LifecycleBase. java: 150) at org. apache. catalina. core. containerBase. addChildInternal (ContainerBase. java: 901) at org. apache. catalina. core. containerBase. addChi Ld (ContainerBase. java: 877) at org. apache. catalina. core. standardHost. addChild (StandardHost. java: 632) at org. apache. catalina. startup. hostConfig. deployDirectory (HostConfig. java: 1229) at org. apache. catalina. startup. hostConfig $ DeployDirectory. run (HostConfig. java: 1875) at java. util. concurrent. executors $ RunnableAdapter. call (Executors. java: 441) at java. util. concurrent. futureTask $ Sync. innerRun (FutureTask. java: 3 03) 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 bean: type: class: org. apache. struts2.views. freemarker. freemarkerThemeTemplateLoader-bean-jar: file:/D :/MyEclipse/apache-tomcat-7.0.53/webapps/StudentSystem/WEB-INF/lib/struts2-core-2.3.16.3.jar! Struts-default.xml: 69: 87at 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. configurationMa Nager. getConfiguration (ConfigurationManager. java: 67 )... 20 moreCaused by: java. lang. noClassDefFoundError: freemarker/cache/TemplateLoaderat java. lang. classLoader. defineClass1 (Native Method) at java. lang. classLoader. defineClass (ClassLoader. java: 621) at java. security. secureClassLoader. defineClass (SecureClassLoader. java: 124) at org. apache. catalina. loader. webappClassLoader. findClassInternal (WebappClassLo Ader. java: 2957) at org. apache. catalina. loader. webappClassLoader. findClass (WebappClassLoader. java: 1210) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1690) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1571) at com. opensymphony. xwork2.util. classLoaderUtil. loadClass (ClassLoaderUtil. java: 144) at com. opensymphony. xwork2.config. providers. XmlConfigurationProvider. register (XmlConfigurationProvider. java: 216 )... 23 moreCaused by: java. lang. classNotFoundException: freemarker. cache. templateLoaderat org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1720) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1571) at java. lang. classLoader. loadClassInternal (ClassLoader. java: 320 )... 32 mo Re2014-6-16 23:49:03 org. apache. catalina. core. standardContext filterStart is serious: Exception starting filter struts2Unable to load configuration. -bean-jar: file:/D:/MyEclipse/apache-tomcat-7.0.53/webapps/StudentSystem/WEB-INF/lib/struts2-core-2.3.16.3.jar! Struts-default.xml: 69: 87at org. apache. struts2.dispatcher. dispatcher. init (Dispatcher. java: 501) at org. apache. struts2.dispatcher. filterDispatcher. init (FilterDispatcher. java: 193) at org. apache. catalina. core. applicationFilterConfig. initFilter (ApplicationFilterConfig. java: 279) at org. apache. catalina. core. applicationFilterConfig. getFilter (ApplicationFilterConfig. java: 260) at org. apache. catalina. core. applicationFilterConfig.
  
   
(ApplicationFilterConfig. java: 105) at org. apache. catalina. core. standardContext. filterStart (StandardContext. java: 4809) at org. apache. catalina. core. standardContext. startInternal (StandardContext. java: 5485) at org. apache. catalina. util. lifecycleBase. start (LifecycleBase. java: 150) at org. apache. catalina. core. containerBase. addChildInternal (ContainerBase. java: 901) at org. apache. catalina. core. containerBase. addChi Ld (ContainerBase. java: 877) at org. apache. catalina. core. standardHost. addChild (StandardHost. java: 632) at org. apache. catalina. startup. hostConfig. deployDirectory (HostConfig. java: 1229) at org. apache. catalina. startup. hostConfig $ DeployDirectory. run (HostConfig. java: 1875) at java. util. concurrent. executors $ RunnableAdapter. call (Executors. java: 441) at java. util. concurrent. futureTask $ Sync. innerRun (FutureTask. java: 3 03) 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 configuration. -bean-jar: file:/D:/MyEclipse/apache-tomcat-7.0.53/webapps/StudentSystem/WEB-INF/lib/st Ruts2-core-2.3.16.3.jar! Struts-default.xml: 69: 87at 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 )... 18 moreCaused by: Unable to load bean: type: class: org. apache. struts2.views. freemarker. freemarkerThemeTemplateLo Ader-bean-jar: file:/D:/MyEclipse/apache-tomcat-7.0.53/webapps/StudentSystem/WEB-INF/lib/struts2-core-2.3.16.3.jar! Struts-default.xml: 69: 87at 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 )... 20 moreCaused by: java. lang. noClassDefFoundError: freemarker/cache/TemplateLoaderat java. lang. classLoader. defineClass1 (Native Method) at java. lang. classLoader. defineClass (ClassLoader. java: 621) at java. security. secureClassLoader. defineClass (SecureClassLoader. java: 124) at org. apache. catalina. loader. webappClassLoader. findClassInternal (WebappClassLoader. java: 2957) at org. apache. catalina. loader. webappClassLoader. findClass (WebappClassLoader. java: 1210) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1690) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1571) at com. opensymphony. xwork2.util. classLoaderUtil. loadClass (ClassLoaderUtil. java: 144) at com. opensymphony. xwork2.config. providers. xmlConfigurationProvider. register (XmlConfigurationProvider. java: 216 )... 23 moreCaused by: java. lang. classNotFoundException: freemarker. cache. templateLoaderat org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1720) at org. apache. catalina. loader. webappClassLoader. loadClass (WebappClassLoader. java: 1571) at java. lang. classLoader. loadClassInternal (ClassLoader. java: 320 )... 32 more2014-6-16 23:49:03 org. apache. catalina. core. standardContext startInternal critical: Error filterStart2014-6-16 23:49:03 org. apache. catalina. core. standardContext startInternal severe: Context [/StudentSystem] startup failed due to previous errors2014-6-16 23:49:03 org. apache. catalina. loader. webappClassLoader checkThreadLocalMapForLeaks: The web application [/StudentSystem] created a ThreadLocal with key of type [com. sun. faces. util. util $1] (value [com. sun. faces. util. util $1 @ 5f634c]) and a value of type [java. util. hashMap] (value [{com. sun. faces. patternCache ={}}]) but failed to remove it when the web application was stopped. threads are going to be fig over time to try and avoid a probable memory leak.2014-6-16 23:49:03 org. apache. coyote. abstractProtocol start information: Starting ProtocolHandler ["http-apr-8686"] 23:49:03 org. apache. coyote. abstractProtocol start information: Starting ProtocolHandler ["ajp-apr-8009"] 23:49:03 org. apache. catalina. startup. catalina start information: Server startup in 9114 MS
  
 

2. Error cause

Missing freemarker-2.3.19.jar


3. Solution

Import freemarker-2.3.19.jar

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.