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的加密檔案的版本不相同。
目錄C:\Program Files\Java\jdk1.6.0_45\jre\lib\security\下的local_policy.jar,US_export_policy.jar
與 目錄C:\Program Files\Java\jre6\lib\security\下的local_policy.jar,US_export_policy.jar版本不一樣
參考: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編譯造成的,依然是困惑中。。。
版權聲明:本文為部落客原創文章,未經部落客允許不得轉載。