刚碰见的问题

来源:互联网 发布:淘宝刷粉丝会封号吗 编辑:程序博客网 时间:2024/05/17 07:22

1.  failed to load the jni shared library jre bin server jvm.dll

          解决:这个主要是eclipse的版本和安装的jdk版本不相同。

2.  java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer!

         解决:主要是因为加密文件的版本和jdk的版本加密文件不相同。查看主类(local_policy.jar,US_export_policy.jar)和jdk的加密文件的版本不相同。

         参考:http://stackoverflow.com/questions/9745193/java-lang-securityexception-the-jurisdiction-policy-files-are-not-signed-by-a-t

                     http://stackoverflow.com/questions/18754243/securityexception-even-after-replacing-crypto-policy-jars

3.  安装不同版本jdk后,java  -version不同的问题

        解决:我先安装的jdk7,然后在安装jdk6,之前的path全部替换成jdk6,但是执行java -version后显示的还是jdk7,我去。。。 我用的是windows,挺操蛋的windows直接写进注册表了,于是只能卸载掉,重新安装重新配置环境。。。

4. Eclipse The JRE could not be found. Edit the server and change the JRE location.

       解决:eclipse->windows->prefrence->server->runtime environment->然后编辑你的tomcat->添加jdk

5.  struts2刨析:http://www.iteye.com/topic/829843

6.  unable to install breakpoint in

       Eclipse Unable to install breakpoint in  的问题总算解决了,重装eclipse无效,最后只有到window-preferences-java-compiler下面 
把Add line number attributes..前的勾去掉,然后apply-OK。再window-preferences-java-compiler把勾打上,再apply-OK,问题才解决了,网上有人说这个问题是因为既使用ant编译又使用eclipse编译造成的,依然是困惑中。。。

0 0
原创粉丝点击