SEVERE: Context [] startup failed due to previous errors
2016-09-02 10:47:04,606 INFO(http-bio-8080-exec-1)[org.apache.usergrid.rest.ShutdownListener] - 调用ShutdownListener 2016-09-02 10:51:13,857 ERROR(http-bio-8080-exec-6)[org.springframework.web.context.ContextLoader] - 上下文初始化失败 org.springframework.beans.factory.BeanDefinitionStoreException:无效的bean定义,名称为' usergridSystemMonitor'在类路径资源[usergrid-core-context.xml]中定义:无法解析占位符'版本'在字符串值" $ {version}&#34 ;;嵌套异常是java.lang.IllegalArgumentException:无法解析占位符'版本'在字符串值" $ {version}" 在org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209) 在org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84) 在org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696) 在org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:671) 在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461) 在org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) 在org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) 在org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) 在org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5010)
答案 0 :(得分:0)
您需要在 usergird-deployment.properties 文件中更新属性 usergrid.version.build 的值
最佳,