Eclipse Mars Glassfish 4.1 - Key value shall not be null

烂漫一生 提交于 2019-12-10 17:49:41

问题


I will integration Glassfish 4.1 on Eclipse Mars. But I received an error when glassfish started.

"Key value shall not be null."

I could not find resolition anywhere. But after one day found out resolition. There are a few missing starting parametres on Glassfish and Eclipse.

Here is the solution : Adding that line to domain.xml

-Duser.language=en and that line to eclipse.ini

-Duser.language=en solved the problem.

Thanks


回答1:


First, try to delete the default domain (domain1) and add a clean one. Also consider changing the debug port.

I did it and it worked, whereas the solution above did not solve my problem.




回答2:


When I started domain with consol , my application run . But I run on server to it in eclipce , it didn't work .
" -Duser.language=en and that line to eclipse.ini " That solved this problem



来源:https://stackoverflow.com/questions/34008480/eclipse-mars-glassfish-4-1-key-value-shall-not-be-null

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!