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/

菊子曰 本文用 菊子曰發布

注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
粤ICP备14056181号  © 2014-2021 ITdaan.com