当前位置:编程学习 > JAVA >>

Eclipse启动项目弹出异常框!



第一次用Eclipse搭建项目,启动tomcat的时候弹这个提示窗,网上找了很多资料都没能解决,不知道哪位同道中人遇到过这样的问题,求解答~!! --------------------编程问答-------------------- 2013-12-11 18:36:26 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 (x86)\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\Java\jdk1.6.0_41\bin;C:\Program Files (x86)\Java\Java\jdk1.6.0_41\jre\bin;C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;E:\InstallSoftware\android\adt-bundle-windows-x86_64-20130917\sdk\platform-tools;E:\InstallSoftware\java\eclipse;;.
2013-12-11 18:36:26 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wlp_r5379' did not find a matching property.
2013-12-11 18:36:26 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-12-11 18:36:26 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 399 ms
2013-12-11 18:36:26 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-12-11 18:36:26 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.37
2013-12-11 18:36:26 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\Project\LogisticsCarriage\water\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wlp_r5379\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2013-12-11 18:36:27 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (c1_Optimizer.cpp:271), pid=4012, tid=1480
#  guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
#
# JRE version: 6.0_41-b02
# Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing windows-x86 )
# An error report file with more information is saved as:
# E:\InstallSoftware\java\eclipse\hs_err_pid4012.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

应该是这个异常,加上console的信息 --------------------编程问答-------------------- eclipse preference>servers>runtime environment  看看tomcat 是否配置正确 --------------------编程问答-------------------- 记得给分哦 哈
补充:Java ,  Eclipse
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,