Thanks Dave. Its something to do with the usergrid-custom.properties where
I had to replace usergrid.version.build with a value to make it work. I
think its supposed to replace that at runtime? I was building the master
with Maven 3 with Java 7.

Regards,

Dilshan

On 7 May 2015 at 00:25, Dave <snoopd...@gmail.com> wrote:

> That's odd. It looks like you have an unsubstituted variable in your
> usergrid-core-context.xml file. The substitution should have been done at
> Maven build time.
>
> Can you explain a little about your environment please:
>
> Which version of Usergrid are you using?
> How did you build it?
> What version of Java, Tomcat and Cassandra are you using?
> What instructions are you following to get setup?
>
> Thanks,
> Dave
>
>
> On Wed, May 6, 2015 at 5:33 AM Dilshan Edirisuriya <ed.dils...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I get the following error at server startup. Hope I have done the
> > configurations properly.
> >
> > org.springframework.beans.factory.BeanDefinitionStoreException: Invalid
> > bean definition with name 'usergridSystemMonitor' defined in class path
> > resource [usergrid-core-context.xml]: Could not resolve placeholder
> > 'version' in string value [${version}]
> >     at
> >
> >
> org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
> >     at
> >
> >
> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)
> >     at
> >
> >
> org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)
> >     at
> >
> >
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
> >     at
> >
> >
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:661)
> >     at
> >
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
> >     at
> >
> >
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
> >     at
> >
> >
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
> >     at
> >
> >
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> >     at
> >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
> >     at
> >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
> >     at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >     at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> >     at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> >     at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> >     at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1090)
> >     at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1900)
> >     at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> >     at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >     at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >     at java.lang.Thread.run(Thread.java:745)
> > May 06, 2015 2:58:28 PM org.apache.catalina.core.StandardContext
> > startInternal
> >
> >
> > Regards,
> >
> > Dilshan
> >
>

Reply via email to