gwt super dev mode appengine无效

时间:2016-11-09 12:20:55

标签: gwt

以superdev模式启动gwt应用,但获取com.google.apphosting.utils.config.AppEngineConfigException:配置无效 下面是完整的日志。

2016年11月9日下午5:46:49 java.util.prefs.WindowsPreferences 警告:无法在根0x80000002处打开/创建prefs根节点Software \ JavaSoft \ Prefs。 Windows RegCreateKeyEx(...)返回错误代码5。 加载模块    com.nsn.caobusiness.ca.ui.CustomerAdmin       加载继承的模块' com.nsn.caobusiness.ca.ui.CustomerAdmin'          [WARN]第48行:设置名为' devModeRedirectEnabled'的配置属性在模块&com; com.nsn.caobusiness.ca.ui.CustomerAdmin'以前没有定义过 初始化App Engine服务器 2016年11月9日下午5:46:54 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml 严重:收到异常处理C:\ CA \ AWCC CA \ CustomerCare \ target \ CustomerCare-3.3 \ WEB-INF / appengine-web.xml com.google.apphosting.utils.config.AppEngineConfigException:找不到C:\ CA \ AWCC CA \ CustomerCare \ target \ CustomerCare-3.3 \ WEB-INF \ appengine-web.xml     在com.google.apphosting.utils.config.AppEngineWebXmlReader.getInputStream(AppEngineWebXmlReader.java:141)     在com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:75)     在com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:165)     在com.google.appengine.tools.development.ApplicationConfigurationManager $ WarModuleConfigurationHandle.readConfiguration(ApplicationConfigurationManager.java:414)     在com.google.appengine.tools.development.ApplicationConfigurationManager。(ApplicationConfigurationManager.java:159)     在com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:101)     在com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:87)     在com.google.appengine.tools.development.DevAppServerImpl。(DevAppServerImpl.java:139)     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)     在com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:258)     在com.google.appengine.tools.development.DevAppServerFactory.access $ 000(DevAppServerFactory.java:36)     在com.google.appengine.tools.development.DevAppServerFactory $ 1.run(DevAppServerFactory.java:226)     在com.google.appengine.tools.development.DevAppServerFactory $ 1.run(DevAppServerFactory.java:224)     at java.security.AccessController.doPrivileged(Native Method)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:224)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:76)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:60)     在com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:84)     在com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)     在com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)     在com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)     在com.google.gwt.dev.DevMode.main(DevMode.java:413) 引起:java.io.FileNotFoundException:C:\ CA \ AWCC CA \ CustomerCare \ target \ CustomerCare-3.3 \ WEB-INF \ appengine-web.xml(系统找不到指定的文件)     at java.io.FileInputStream.open(Native Method)     在java.io.FileInputStream。(FileInputStream.java:146)     在java.io.FileInputStream。(FileInputStream.java:101)     在com.google.apphosting.utils.config.AppEngineWebXmlReader.getInputStream(AppEngineWebXmlReader.java:137)     ......还有24个

[错误]无法启动App Engine服务器 com.google.apphosting.utils.config.AppEngineConfigException:配置无效 无法启动嵌入式HTTP服务器     在com.google.appengine.tools.development.DevAppServerImpl.reportDeferredConfigurationException(DevAppServerImpl.java:474)     在com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:226)     在com.google.appengine.tools.development.DevAppServerImpl.access $ 000(DevAppServerImpl.java:47)     在com.google.appengine.tools.development.DevAppServerImpl $ 1.run(DevAppServerImpl.java:213)     在com.google.appengine.tools.development.DevAppServerImpl $ 1.run(DevAppServerImpl.java:211)     at java.security.AccessController.doPrivileged(Native Method)     在com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:211)     在com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)     在com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)     在com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)     在com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)     在com.google.gwt.dev.DevMode.main(DevMode.java:413) 原因:com.google.apphosting.utils.config.AppEngineConfigException:无效的appengine-web.xml(C:\ CA \ AWCC CA \ CustomerCare \ target \ CustomerCare-3.3 \ WEB-INF / appengine-web.xml) - 可能找不到C:\ CA \ AWCC CA \ CustomerCare \ target \ CustomerCare-3.3 \ WEB-INF \ appengine-web.xml     在com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:167)     在com.google.appengine.tools.development.ApplicationConfigurationManager $ WarModuleConfigurationHandle.readConfiguration(ApplicationConfigurationManager.java:414)     在com.google.appengine.tools.development.ApplicationConfigurationManager。(ApplicationConfigurationManager.java:159)     在com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:101)     在com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:87)     在com.google.appengine.tools.development.DevAppServerImpl。(DevAppServerImpl.java:139)     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)     在com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:258)     在com.google.appengine.tools.development.DevAppServerFactory.access $ 000(DevAppServerFactory.java:36)     在com.google.appengine.tools.development.DevAppServerFactory $ 1.run(DevAppServerFactory.java:226)     在com.google.appengine.tools.development.DevAppServerFactory $ 1.run(DevAppServerFactory.java:224)     at java.security.AccessController.doPrivileged(Native Method)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:224)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:76)     在com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:60)     在com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:84)     ......还有4个 com.google.gwt.core.ext.UnableToCompleteException :(参见以前的日志条目)     在com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:102)     在com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)     在com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)     在com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)     在com.google.gwt.dev.DevMode.main(DevMode.java:413) [错误] shell在doStartupServer方法中失败

检查了其他问题,但无法解决此问题。

1 个答案:

答案 0 :(得分:0)

将WEB-INF中的appengine-web.xml替换为OEM版本。它似乎已损坏。