也不知道哪出错了!2012-4-16 18:16:52 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\myeclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 5.5\bin
2012-4-16 18:16:52 org.apache.coyote.http11.Http11BaseProtocol init
信息: 初始化 Coyote HTTP/1.1:http-8016
2012-4-16 18:16:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 375 ms
2012-4-16 18:16:52 org.apache.catalina.core.StandardService start
信息: 启动Catalina服务
2012-4-16 18:16:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.20
2012-4-16 18:16:52 org.apache.catalina.core.StandardHost start
信息: XML文件的有效性检测被停用
2012-4-16 18:16:53 org.apache.catalina.core.ApplicationContext log
信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2012-4-16 18:16:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-4-16 18:16:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-4-16 18:16:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-4-16 18:16:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-4-16 18:16:53 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2012-4-16 18:16:53 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
2012-4-16 18:16:53 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2012-4-16 18:16:53 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
2012-4-16 18:16:55 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-4-16 18:16:55 org.apache.catalina.core.StandardContext start
严重: 因为前面的错误无法启动上下文
2012-4-16 18:16:55 org.apache.coyote.http11.Http11BaseProtocol start
信息: 启动 Coyote HTTP/1.1:http-8016
2012-4-16 18:16:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-4-16 18:16:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32  config=null
2012-4-16 18:16:55 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2012-4-16 18:16:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 2875 ms

解决方案 »

  1.   

    信息: Server startup in 2875 ms
     控制台能进么
      

  2.   

    The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\myeclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 5.5\bin
    第一句没什么关系,只是警告而已
      

  3.   

    那就发给你看看咯<?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
     "http://struts.apache.org/dtds/struts-2.0.dtd">
    <struts>
     <constant name="struts.devMode" value="true" />
     <constant name="struts.i18n.encoding" value="gbk" />
     <constant name="struts.configuration.xml.reload" value="true" />
     <constant name="struts.serve.static.browserCache" value="false" />
      
     <include file="struts-default.xml"></include>
     
     <package name="action" namespace="/" extends="struts-default">
     <interceptors>
        <interceptor name="sessionNull" class="com.zqkj.interceptor.NavigationInterceptor">
        </interceptor>
     </interceptors>
     <global-results>
        <result name="login" type="redirect">/jsp/login.jsp</result>
     </global-results> 
     <action name="*_*" class="com.zqkj.action.{1}Action" method="{2}">
      <result name="success">${path}</result>
      <result name="chain" type="chain">${path}</result>
      <result name="redirect" type="redirect">${path}</result>
      <result name="redirectAction" type="redirectAction">${path}</result>
      <result name="dispatcher" type="dispatcher">${path}</result>
      
     
      
     </action></package>
     
    </struts>    我是用struts2的,这个项目是被人发给我的,而我跑不动它
      

  4.   

    Unable to locate configuration files of the name struts-plugin.xml, skipping
      

  5.   

    一般tomcat里面会tomcat\conf\Catalina\localhost下面生成一个项目名称.xml文件,你看下有没有,估计没有。应该检查下你tomcat的配置,或者复制一个.xml文件,更改里面的参数。