I am using the Eclipse JDT to build/run liferay for hot deployment & debugging according to those steps:
我正在使用Eclipse JDT根据这些步骤构建/运行liferay以进行热部署和调试:
Suddenley after restarting my Ubuntu VM after installing Updates the import of javax.crypto fails.
在安装更新后重启我的Ubuntu VM后突然重启导入javax.crypto失败。
I googled a lot but no real solution by now. Meanwhile I can build after adding jce.jar to my jdks external jars (Eclipse-Window-Prefernces-Installed JREs - Select JRE - Edit - Add External Jars)
我google了很多,但现在没有真正的解决方案。同时我可以在将jce.jar添加到我的jdks外部jar之后构建(Eclipse-Window-Prefernces-Installed JREs - 选择JRE - 编辑 - 添加外部JAR)
This helps for Building but not when launching from the Debugger
这有助于构建,但不能从调试器启动时
???
1 个解决方案
#1
0
After starting eclipse with the -clean
flag in the eclipse.ini
everything runs fine again.
在eclipse.ini中使用-clean标志启动eclipse后,一切运行正常。
I further noticed, that the Restore Defaults button in Preferences -> Java > ... -> Edit JRE now adds a lot more jars than before.
我进一步注意到,Preferences - > Java> ... - > Edit JRE中的Restore Defaults按钮现在增加了比以前更多的jar。
It now consists of the following jars - but adding them by hand did not help:
它现在由以下罐子组成 - 但手工添加它们没有帮助:
jre/lib/rt.jar
jre/lib/jsse.jar
jre/lib/jce.jar
jre/lib/charset.jar
jre/lib/ext/dnsns.jar
jre/lib/ext/sunpkcs11.jar
jre/lib/ext/sunjce_provider.jar
jre/lib/ext/localedata.jar
Using JDK 1.5 here
在这里使用JDK 1.5
#1
0
After starting eclipse with the -clean
flag in the eclipse.ini
everything runs fine again.
在eclipse.ini中使用-clean标志启动eclipse后,一切运行正常。
I further noticed, that the Restore Defaults button in Preferences -> Java > ... -> Edit JRE now adds a lot more jars than before.
我进一步注意到,Preferences - > Java> ... - > Edit JRE中的Restore Defaults按钮现在增加了比以前更多的jar。
It now consists of the following jars - but adding them by hand did not help:
它现在由以下罐子组成 - 但手工添加它们没有帮助:
jre/lib/rt.jar
jre/lib/jsse.jar
jre/lib/jce.jar
jre/lib/charset.jar
jre/lib/ext/dnsns.jar
jre/lib/ext/sunpkcs11.jar
jre/lib/ext/sunjce_provider.jar
jre/lib/ext/localedata.jar
Using JDK 1.5 here
在这里使用JDK 1.5