SEVERE: Context [] startup failed due to previous errors2016-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错误(http-bio-8080-exec-6) org.springframework.web.context.ContextLoader - Context初始化失败org.apache.usergrid.rest.ShutdownListener-Context在类路径资源usergrid-ShutdownListener-context.xml中定义了名为'usergridSystemMonitor‘的bean定义无效:无法解析字符串值“${version}”中的占位符'version’;嵌套异常为版本:无法在位于org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223)的org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)位于org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)位于组织的org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)解析字符串值“${java.lang.IllegalArgumentException}”中的占位符“version”。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)
发布于 2016-09-09 12:52:47
您需要在usergird-deployment.properties文件中更新属性usergrid.version.build的值
最好的
https://stackoverflow.com/questions/39290685
复制相似问题