my eclipse链接不了tomcat 啊

来源:1-8 MyEclipse开发Java Web程序

麽麽茶LAN

2016-09-26 22:04

九月 26, 2016 10:01:16 下午 org.apache.catalina.core.AprLifecycleListener init

警告: The APR based Apache Tomcat Native library failed to load. The error reported was [C:\apache-tomcat-7.0.65\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]

java.lang.UnsatisfiedLinkError: C:\apache-tomcat-7.0.65\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)

at java.lang.Runtime.loadLibrary0(Runtime.java:849)

at java.lang.System.loadLibrary(System.java:1088)

at org.apache.tomcat.jni.Library.<init>(Library.java:42)

at org.apache.tomcat.jni.Library.initialize(Library.java:175)

at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:201)

at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:109)

at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592)

at org.apache.catalina.connector.Connector.<init>(Connector.java:66)

at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)

at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)

at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1555)

at org.apache.catalina.startup.Catalina.load(Catalina.java:615)

at org.apache.catalina.startup.Catalina.load(Catalina.java:663)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)


九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/7.0.65

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Oct 9 2015 08:36:58 UTC

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         7.0.65.0

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 8.1

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            6.3

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             C:\Program Files\Java\jdk1.7.0_79\jre

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.7.0_79-b15

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         C:\apache-tomcat-7.0.65

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_HOME:         C:\apache-tomcat-7.0.65

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:49832

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.home=C:\apache-tomcat-7.0.65

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=C:\apache-tomcat-7.0.65

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-7.0.65/common/endorsed

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.io.tmpdir=C:\apache-tomcat-7.0.65\temp

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.library.path=C:\Program Files\Java\jdk1.7.0_79\bin;C:\apache-tomcat-7.0.65\bin

九月 26, 2016 10:01:17 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dsun.io.useCanonCaches=false

九月 26, 2016 10:01:18 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-bio-8888"]

九月 26, 2016 10:01:18 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["ajp-bio-8009"]

九月 26, 2016 10:01:18 下午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 4842 ms

九月 26, 2016 10:01:19 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

九月 26, 2016 10:01:19 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.65


写回答 关注

2回答

  • hahahhao
    2016-09-27 12:00:45

    你的tomcat是绿色版的吗?我这有连接可以下载 点我

    麽麽茶LAN

    已经找到原因了,谢谢

    2016-09-27 19:34:55

    共 1 条回复 >

  • 麽麽茶LAN
    2016-09-26 22:05:02

    出现了上面的错误,能告诉我是什么原因吗

JAVA遇见HTML——JSP篇

Java Web入门级教程JSP,带你轻松的学习JSP基础知识

248277 学习 · 3071 问题

查看课程

相似问题