Java查看注册表错误:ERROR You have not installed the DLL named 'ICE_JNIRegistry.DLL'
来源:互联网 发布:武侠小说推荐 知乎 编辑:程序博客网 时间:2024/05/24 03:23
用java进行注册表操作时出现以下错误:
ERROR You have not installed the DLL named 'ICE_JNIRegistry.DLL'.
no ICE_JNIRegistry in java.library.path2013-08-23 15:14:42,812 ERROR [http-8089-1] - Dispatch[/system] to method 'saveBackup' returned an exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:266)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:167)
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:65)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eredlab.g4.rif.util.RequestFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eredlab.g4.rif.util.CharacterEncodingFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: com.ice.jni.registry.RegistryKey.openSubKey(Ljava/lang/String;I)Lcom/ice/jni/registry/RegistryKey;
at com.ice.jni.registry.RegistryKey.openSubKey(Native Method)
at com.ice.jni.registry.RegistryKey.openSubKey(RegistryKey.java:185)
at org.eredlab.seit.util.RegeditUtil.getMachineStringValue(Unknown Source)
at org.eredlab.seit.system.web.SystemAction.saveBackup(Unknown Source)
... 35 more
解决办法:
在jre的bin文件夹中放入ICE_JNIRegistry.DLL,这是在WEB工程运行时解决办法
若在一般JAVA程序中操作注册表,应该访入jdk的bin或lib
- Java查看注册表错误:ERROR You have not installed the DLL named 'ICE_JNIRegistry.DLL'
- Outline Extractor Error: Essbase runtime client not installed. esbapin.dll
- **Error**: You must have `libtool' installed
- **Error**: You must have `libtool' installed
- You do not appear to have the sources for the 3.5.0-23-generic kernel installed
- Guake can not init! Gconf Error. Have you installed guake.schemas properlly?
- retext出现Could not parse file contents, check if you have the necessary module installed解决方案
- plsql登陆时报的错误make sure you have the 32 bits oracle client installed或者initialization error could n解决方案
- Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE)
- Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE)
- Make sure you have Java JDK or JRE installed and the required ports are free
- java9 Error: could not find java.dll
- Make sure you have the 32 bits Oracle Client installed.
- Make sure you have the 32 bits Oracle Client installed
- The LogManager was not properly installed (you must set the "java.util.logging.manager" system prop
- HHC6003: Error: The file Itircl.dll has not been
- Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configur
- 解决:Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE)
- tomcat设置内存参数<内存溢出时生成heapDump文件,生成GC日志>
- POJ 2773 Happy 2006
- DIV 浏览器水平垂直居中及文字垂直水平居中问题
- poj1185 炮兵阵地
- 11
- Java查看注册表错误:ERROR You have not installed the DLL named 'ICE_JNIRegistry.DLL'
- 计算几何基础题目
- [小说]魔王冢(41)准备出发
- Log4J日志管理类使用详解
- 完整的站内搜索Demo(Lucene.Net+盘古分词)
- HDU1452-积性函数-素因子分解-乘法逆元
- adb 拨号
- 关于HTML5,了解得很少。
- 安装android samples ApiDemo Re-installation failed due to different application signaures 解决方法