zoukankan      html  css  js  c++  java
  • Struts2.x+JFreeChart搭建框架出错(三)

    Struts2.x+JFreeChart搭建框架出错(二)

    导入那个包后,又出现以下问题:

    usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ]  { -help | start | stop }
    2013-7-28 14:37:43 org.apache.catalina.core.AprLifecycleListener init
    信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
    2013-7-28 14:37:43 org.apache.catalina.core.AprLifecycleListener init
    信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    2013-7-28 14:37:44 org.apache.catalina.core.AprLifecycleListener initializeSSL
    信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
    2013-7-28 14:37:44 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-apr-8080"]
    2013-7-28 14:37:44 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-apr-8009"]
    2013-7-28 14:37:44 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 990 ms
    2013-7-28 14:37:44 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    2013-7-28 14:37:44 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.41
    2013-7-28 14:37:44 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsdocs
    2013-7-28 14:37:44 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsexamples
    2013-7-28 14:37:45 org.apache.catalina.core.ApplicationContext log
    信息: ContextListener: contextInitialized()
    2013-7-28 14:37:45 org.apache.catalina.core.ApplicationContext log
    信息: SessionListener: contextInitialized()
    2013-7-28 14:37:45 org.apache.catalina.core.ApplicationContext log
    信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@26f9e5')
    2013-7-28 14:37:45 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappshost-manager
    2013-7-28 14:37:45 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsJFreeChart
    2013-7-28 14:37:45 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsmanager
    2013-7-28 14:37:45 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsROOT
    2013-7-28 14:37:45 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:MyEclipseapache-tomcat-7.0.41webappsvotesystem
    2013-7-28 14:37:48 com.sun.faces.config.ConfigureListener contextInitialized
    信息: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/votesystem'
    2013-7-28 14:37:48 com.sun.faces.spi.InjectionProviderFactory createInstance
    信息: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
    2013-7-28 14:37:49 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
    信息: Parsing configuration file [struts-default.xml]
    2013-7-28 14:37:49 org.apache.catalina.core.StandardContext filterStart
    严重: Exception starting filter struts2
    java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
    	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:211)
    	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
    	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:226)
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
    	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
    	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
    	at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)
    	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: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.addChildInternal(ContainerBase.java:901)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	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: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
    	at 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 more
    2013-7-28 14:37:49 org.apache.catalina.core.StandardContext startInternal
    严重: Error filterStart
    2013-7-28 14:37:49 org.apache.catalina.core.StandardContext startInternal
    严重: Context [/votesystem] startup failed due to previous errors
    2013-7-28 14:37:49 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
    严重: The web application [/votesystem] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@101e081]) 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 renewed over time to try and avoid a probable memory leak.
    2013-7-28 14:37:49 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["http-apr-8080"]
    2013-7-28 14:37:49 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["ajp-apr-8009"]
    2013-7-28 14:37:49 org.apache.catalina.startup.Catalina start
    信息: Server startup in 4849 ms

    Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils我知道是缺少commons-lang3-3.1.jar

  • 相关阅读:
    网络
    分区
    JavaScript概述
    CSS样式属性
    css选择器
    CSS的引入方式
    css介绍
    HTML结构
    常用标签
    HTML介绍
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315757.html
Copyright © 2011-2022 走看看