2013-04-29 157 views
3

當我嘗試在Eclipse上運行我的項目時出現以下錯誤。它在我開發它的計算機上運行良好,但是當我將其導入到筆記本電腦時,它無法工作。java.lang.unsatisfiedlinkerror無法加載amd 64位.dll ia 32位

此問題已經在本網站的其他地方提出過,並且此問題的主要原因似乎是環境變量設置不正確。但我已經檢查了他們,他們似乎是正確的,除非我錯過了什麼?

我確實安裝了64位JRE。另外,爲什麼jndi異常出現?

java.lang.UnsatisfiedLinkError: C:\apache-tomcat-7.0.39-windows-x64\apache-tomcat-7.0.39\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform 
    at java.lang.ClassLoader$NativeLibrary.load(Native Method) 
    at java.lang.ClassLoader.loadLibrary1(Unknown Source) 
    at java.lang.ClassLoader.loadLibrary0(Unknown Source) 
    at java.lang.ClassLoader.loadLibrary(Unknown Source) 
    at java.lang.Runtime.loadLibrary0(Unknown Source) 
    at java.lang.System.loadLibrary(Unknown Source) 
    at org.apache.tomcat.jni.Library.<init>(Library.java:42) 
    at org.apache.tomcat.jni.Library.initialize(Library.java:174) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:180) 
    at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:85) 
    at org.apache.catalina.connector.Connector.setProtocol(Connector.java:595) 
    at org.apache.catalina.connector.Connector.<init>(Connector.java:69) 
    at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62) 
    at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276) 
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) 
    at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) 
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) 
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) 
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) 
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) 
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) 
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 
    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537) 
    at org.apache.catalina.startup.Catalina.load(Catalina.java:610) 
    at org.apache.catalina.startup.Catalina.load(Catalina.java:658) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281) 
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) 
Apr 29, 2013 11:42:48 AM org.apache.catalina.core.AprLifecycleListener init 
INFO: 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\jre7\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Ant\apache-ant-1.9.0\bin;C:\Program Files\Java\jdk1.7.0_09\jre\bin;C:\apache-tomcat-7.0.39-windows-x64\apache-tomcat-7.0.39\bin;C:\eclipse-jee-indigo-SR2-win32\eclipse;;. 
Apr 29, 2013 11:42:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin 
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AjaxSpringMVC2' did not find a matching property. 
Apr 29, 2013 11:42:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin 
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ajaxjqjsbowling' did not find a matching property. 
Apr 29, 2013 11:42:49 AM org.apache.coyote.AbstractProtocol init 
INFO: Initializing ProtocolHandler ["http-bio-8080"] 
Apr 29, 2013 11:42:49 AM org.apache.coyote.AbstractProtocol init 
INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 
Apr 29, 2013 11:42:49 AM org.apache.catalina.startup.Catalina load 
INFO: Initialization processed in 850 ms 
Apr 29, 2013 11:42:49 AM org.apache.catalina.core.StandardService startInternal 
INFO: Starting service Catalina 
Apr 29, 2013 11:42:49 AM org.apache.catalina.core.StandardEngine startInternal 
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39 
Apr 29, 2013 11:42:53 AM org.apache.catalina.core.ApplicationContext log 
INFO: No Spring WebApplicationInitializer types detected on classpath 
log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet). 
log4j:WARN Please initialize the log4j system properly. 
Apr 29, 2013 11:42:53 AM org.apache.catalina.core.ApplicationContext log 
SEVERE: StandardWrapper.Throwable 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 
    at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) 
    at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:114) 
    at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) 
    at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) 
    at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:213) 
    at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:203) 
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:160) 
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) 
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) 
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088) 
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123) 
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407) 
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) 
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
    at java.util.concurrent.FutureTask.run(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

Apr 29, 2013 11:42:53 AM org.apache.catalina.core.StandardContext loadOnStartup 
SEVERE: Servlet /ajaxjqjsbowling threw load() exception 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 
    at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) 
    at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:114) 
    at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) 
    at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) 
    at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:213) 
    at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:203) 
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:160) 
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) 
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) 
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088) 
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123) 
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407) 
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) 
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
    at java.util.concurrent.FutureTask.run(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

Apr 29, 2013 11:42:53 AM org.apache.catalina.loader.WebappClassLoader validateJarFile 
INFO: validateJarFile(C:\Users\JohnH\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\AjaxSpringMVC2\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 
Apr 29, 2013 11:42:54 AM org.apache.catalina.core.ApplicationContext log 
INFO: No Spring WebApplicationInitializer types detected on classpath 
log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet). 
log4j:WARN Please initialize the log4j system properly. 
Apr 29, 2013 11:42:54 AM org.apache.catalina.core.ApplicationContext log 
INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet' 
Apr 29, 2013 11:42:56 AM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["http-bio-8080"] 
Apr 29, 2013 11:42:56 AM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["ajp-bio-8009"] 
Apr 29, 2013 11:42:56 AM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 6888 ms 
Apr 29, 2013 11:42:56 AM org.apache.catalina.core.ApplicationContext log 
SEVERE: StandardWrapper.Throwable 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 
    at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) 
    at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:114) 
    at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) 
    at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) 
    at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:213) 
    at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:203) 
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:160) 
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) 
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) 
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865) 
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:722) 
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) 
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) 
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) 
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) 
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) 
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:65) 
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) 
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) 
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) 
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) 
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) 
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) 
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) 
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

Apr 29, 2013 11:42:56 AM org.apache.catalina.core.ApplicationDispatcher invoke 
SEVERE: Allocate exception for servlet Spring MVC Dispatcher Servlet 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 
    at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) 
    at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:114) 
    at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) 
    at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) 
    at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:213) 
    at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:203) 
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:160) 
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) 
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) 
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865) 
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:722) 
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) 
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) 
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) 
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) 
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) 
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:65) 
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) 
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) 
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) 
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) 
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) 
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) 
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) 
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

Apr 29, 2013 11:42:56 AM org.apache.catalina.core.StandardWrapperValve invoke 
SEVERE: Servlet.service() for servlet [jsp] in context with path [/ajaxjqjsbowling] threw exception [javax.servlet.ServletException: Servlet.init() for servlet Spring MVC Dispatcher Servlet threw exception] with root cause 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 
    at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) 
    at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:114) 
    at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) 
    at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) 
    at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:213) 
    at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:203) 
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:160) 
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) 
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) 
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865) 
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:722) 
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) 
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) 
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) 
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) 
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) 
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:65) 
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) 
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) 
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) 
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) 
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) 
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) 
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) 
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) 
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

回答

2

Can't load AMD 64-bit .dll on a IA 32-bit platform

你確定你有筆記本電腦上的64位處理器?這是一個DLL加載失敗,與JRE無關。它看起來像你試圖在32位機器上運行64位的tomcat。在你的筆記本電腦上獲得一個32位的tomcat,並嘗試運行你的應用程序

+0

發現問題;我的eclipse版本是32位的。對我的監督。謝謝你的幫助。 – jchoran 2013-04-30 08:05:15

0

此:

SEVERE: Servlet.service() for servlet [jsp] in context with path [/ajaxjqjsbowling] threw exception [javax.servlet.ServletException: Servlet.init() for servlet Spring MVC Dispatcher Servlet threw exception] with root cause 
java.lang.NoSuchMethodError: org.springframework.jndi.JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable()Z 

l0ooks像你編譯春天的版本之間的不匹配,並部署了春季的版本(可能在容器中)。它可以找到Spring類JndiLocatorDelegate,而不是方法(即CLAS sitself也不缺 - 只要您需要的特定方法)

3

我有類似的問題,我的tomcat嵌入在xampp中。我得到「java.lang.UnsatisfiedLinkError:tcnative-1.dll:無法在AMD 64位平臺上加載IA 32位。」錯誤。解決這個問題。下載一個64位的tomcat並替換 tcnative-1.dll tomcat7.exe tomcat7w.exe 文件,位於目錄xampp/tomcat/bin中,具有64位tomcat文件。

0

我遇到了同樣的錯誤信息。我運行的是64位版本的Windows,並安裝了64位版本的Tomcat。無論如何,對於解決方案,我集中在以下INFO消息:

INFO: 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\jre7\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Ant\apache-ant-1.9.0\bin;C:\Program Files\Java\jdk1.7.0_09\jre\bin;C:\apache-tomcat-7.0.39-windows-x64\apache-tomcat-7.0.39\bin;C:\eclipse-jee-indigo-SR2-win32\eclipse;;

當我檢查了我的環境變量,我看到CATALINA_HOME被設置爲其他Tomcat的路徑。當我將值更改爲正確的路徑時,Tomcat成功啓動,沒有錯誤。

我建議你檢查所有的路徑在你的Java相關和Tomcat

0

我不得不2 DLL的(Visual Studio中)以外的所有環境變量來得到它的工作: LOADLIB(路徑,msvcr120); loadLib(path,msvcp120); 使用依賴關係walker來識別您的自定義JNI DLL所需的DLL。

+0

你能改述這個答案來澄清一點嗎?我認爲你至少在描述你對這兩個DLL所做的描述時忽略了一個詞。 – skrrgwasme 2014-08-07 16:50:57

相關問題