无法启动gwt:BeanDefinitionStoreException

时间:2014-05-14 06:10:41

标签: spring maven spring-mvc gwt

尝试运行gwt build并从终端运行gwt时。 GWT应用程序启动。当我尝试在开发模式下启动默认浏览器时,我收到以下错误 `HTTP ERROR:503

SERVICE_UNAVAILABLE RequestURI = / OneApp.jsp`

当我尝试查看jetty选项卡时,显示以下错误日志:

00:36:45.318 [ERROR] 503 - GET /OneApp.jsp?gwt.codesvr=127.0.0.1:9997 (127.0.0.1) 1317 bytes 00:00:00.002 [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload@1e20ad5{/,/home/sainathreddy/projects/branches/BOAAdjustment/app/widget/oneapp/target/ROOT} org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'searchServicePublic' defined in URL [jar:file:/home/sainathreddy/projects/branches/BOAAdjustment/app/widget/oneapp/target/ROOT/WEB-INF/lib/search.client-1.0-SNAPSHOT.jar!/META-INF/spring/module-context.xml]: Could not resolve placeholder 'url.service.composite.search' in string value "${url.service.composite.search}/public" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209) at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:174) at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:151) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:669) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:468) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836) at com.google.gwt.dev.DevMode.main(DevMode.java:311)

我无法从终端启动gwt。我使用了以下命令

mvn clean install gwt:run

0 个答案:

没有答案