Eclipse Mars Glassfish 4.1-键值不得为null [英] Eclipse Mars Glassfish 4.1 - Key value shall not be null

查看:126
本文介绍了Eclipse Mars Glassfish 4.1-键值不得为null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在Eclipse Mars上集成Glassfish 4.1.但是当glassfish开始时,我收到一个错误.

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

键值不能为空."

我在任何地方都找不到解决方法.但是一天后发现了解决方法. Glassfish和Eclipse缺少一些起始参数.

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

这是解决方案: 将该行添加到domain.xml

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

-Duser.language = zh_CN 那一行到eclipse.ini

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

-Duser.language = zh_CN 解决了这个问题.

谢谢

推荐答案

当我使用consol启动域时,我的应用程序运行.但是我在eclipce上在服务器上运行它,但是没有用.
"-Duser.language = zh-CN和eclipse.ini的那一行"这样就解决了这个问题

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

这篇关于Eclipse Mars Glassfish 4.1-键值不得为null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆