Mike, Sorry. There was a rogue jdbc.properties in the target that didn't get updated for some reason. Once I deleted it it must have refreshed and it started working!
Wayne Mike Horwitz wrote: > > Maven does some property placeholder replacement on the jdbc.properties > file > when you run a build. jetty:run-war and tomcat:run-war both invoke a Maven > build in the background, I think jetty:run does not. If you want it all to > work you need to replace the property placeholders in jdbc.properties with > the values in the pom.xml file. > > Mike > > On 10/2/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> >> Folks, >> >> mvn jetty:run fails but mvn tomcat:run-war and mvn jetty:run-war work >> correctly. >> >> mvn jetty:run gives an error during startup about a circular >> jdbc.driverClassName reference in applicationContext-resources.xml. The >> exact error follows. >> >> Please, I love the hot deploy of jetty:run and want to make this work. >> I'm using Basic JSF, AppFuse 2.0 on Windows. >> >> 2007-10-02 11:27:10.587::WARN: Failed startup of context >> [EMAIL PROTECTED] >> /,C:\source\TestAppFuse\src\main\webapp} >> org.springframework.beans.factory.BeanDefinitionStoreException: Error >> registering bean with name 'dataSource' defined in class path resource >> [applicationContext-resources.xml]: Circular placeholder reference >> 'jdbc.driverClassName' in property definitions >> at >> >> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties >> (PropertyPlaceholderConfigurer.java:249) >> -- >> View this message in context: >> http://www.nabble.com/Circular-dataSource-reference-when-running-jetty%3Arun-...-tf4555472s2369.html#a13000912 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Circular-dataSource-reference-when-running-jetty%3Arun-...-tf4555472s2369.html#a13001535 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
