我是一个新手,自己动手做了一个简单的struts程序.
但程序一运行就出错,报错是这样的
2012-7-8 16:53:37 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;d:\Program Files\Java\jdk1.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;e:\Program Files\Tencent\QQPCMgr\6.8.2383.401;C:\Program Files\Java\jdk1.6.0_24\bin;;e:\Program Files\Tencent\QQPCMgr\6.8.2383.401;C:\Users\Lord\Desktop\实训\eclipse-jee-indigo-win32_svn\eclipse;;.
2012-7-8 16:53:37 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:SSH2Demo' did not find a matching property.
2012-7-8 16:53:37 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:MyWeb' did not find a matching property.
2012-7-8 16:53:37 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-7-8 16:53:37 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 644 ms
2012-7-8 16:53:37 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-7-8 16:53:37 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2012-7-8 16:53:38 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2012-7-8 16:53:38 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2012-7-8 16:53:39 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
严重: Dispatcher initialization failed
------解决方案--------------------
环境变量或者路径没配好吧
------解决方案--------------------
他的意思应该是
运行打开cmd,输入java 和javac看看正常不
------解决方案--------------------
myeclipse 有几个地方需要设置jdk 环境的,试试改成jdk6.0
------解决方案--------------------
还有一个JAVA_HOME 配置了吗?