no sigar-amd64-winnt.dll in java.library.path 错误

需要维护别人写的一个WEB项目,还原数据库,从SVN中检出源码,运行,提示如下错误:

5526 [localhost-startStop-1] DEBUG Sigar  - no sigar-amd64-winnt.dll in java.library.path
org.hyperic.sigar.SigarException: no sigar-amd64-winnt.dll in java.library.path
 at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
 at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
 at com.lepord.machine.impl.netSeries.NetSeriesMachineNo.getMACArray(NetSeriesMachineNo.java:24)
 at com.lepord.machine.impl.netSeries.NetSeriesMachineNo.getMachineNo(NetSeriesMachineNo.java:59)
 at com.anche.register.Srv_register.checkLic(Srv_register.java:74)
 at com.anche.register.Srv_register.contextInitialized(Srv_register.java:137)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
 at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
 at java.util.concurrent.Executors$RunnableAdapter.call(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)

解决:

参考:http://blog.163.com/lmx5257%40126/blog/static/134642902201472872412938/

 本文用菊子曰发布

时间: 2024-10-24 01:37:11

no sigar-amd64-winnt.dll in java.library.path 错误的相关文章

1 [main] DEBUG Sigar - no sigar-amd64-winnt.dll in java.library.path org.hyperic.sigar.SigarException: no sigar-amd64-winnt.dll in java.library.path

github上一个java项目,在myeclipse中运行正常,生成jar后,运行报错: 1 [main] DEBUG Sigar - no sigar-amd64-winnt.dll in java.library.pathorg.hyperic.sigar.SigarException: no sigar-amd64-winnt.dll in java.library.path 原因:JAVA运行库缺sigar-amd64-winnt.dll 在myeclipse中运行正常,原来项目中有si

java.lang.UnsatisfiedLinkError:no dll in java.library.path终极解决之道

 Java调用Dll时,会出现no dll in java.library.path异常,在Java Project中不常见,因为只要将Dll拷贝到system32目录下即可:         但若是在Web Project中则经常遇见,因为Web Project引用的 java.library.path  有两处(jre的bin目录和Tomcat的bin目录) 因此解决方法如下: 1.在项目中执行System.out.println(System.getProperty("java.libra

运行测试Caused by: java.lang.UnsatisfiedLinkError: no attach in java.library.path错误解决

解决办法:看到错误里面有个Caused by,说我的jdk运行到了32位的了,于是我查看环境变量,发现是昨天设置成32位的没有设置回来,于是设置回64位的jdk就ok了

【问题解决:信息提示】SpringBoot启动时提示The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

问题描述 springboot程序在启动时提示信息 [2018-10-24 21:59:05.214] - 440 信息 [restartedMain] --- org.apache.catalina.core.StandardService: Starting service [Tomcat] [2018-10-24 21:59:05.220] - 440 信息 [restartedMain] --- org.apache.catalina.core.StandardEngine: Start

no leveldbjni64-1.8 in java.library.path

在抽取以太坊Java版本的Trie树部分时,遇到了一个问题: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path] at

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

今天 ,我在Eclipse中启动Tomcat6.0时,发生如下异常: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:..... 解决如下: 在http://tomcat.heanet.ie/native/下载dll文件:tcnative-1.dll(现在版本是1.1.14) 把它扔

IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;

最近玩起IDEA这开发工具,搭建ssm框架测试时,部署项目出现如下问题: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;C:\Windows\Sun\Java\bin;C:\Windows

java.lang.UnsatisfiedLinkError: no XXX in java.library.path

其中涉及的测试源码如下: For those who didn't install Javawith default settings, a systematic way for solving JNI class path problem is:1> include "System.out.println(System.getProperty("Java.library.path")); " in your "static" block,

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

问题信息详细: 信息: 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\jre1.8.0_111\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Win