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

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)