码迷,mamicode.com
首页 > 编程语言 > 详细

java.lang.UnsatisfiedLinkError: 包名.方法名([BLjava

时间:2015-05-24 18:58:43      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:tomcat   start   方法   信息   启动   

Tomcat启动时,输出如下错误信息:

24-May-2015 18:27:39.057 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: org.apache.catalina.loader.SimpleAuthenticator.getByte([BLjava/lang/String;)[B
    at org.apache.catalina.loader.SimpleAuthenticator.getByte(Native Method)
    at org.apache.catalina.loader.SimpleAuthenticator.decrypt(SimpleAuthenticator.java:226)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1969)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1938)
    at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1899)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1151)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:773)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5066)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 10 more

请检查JNI调用 的DLL或SO文件编写的是否正确,
检查包名与调用它的Java类的包名是否一致。

java.lang.UnsatisfiedLinkError: 包名.方法名([BLjava

标签:tomcat   start   方法   信息   启动   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45953825

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!