I’m trying to get a Project running on Tomcat7 that requires some Plugins and is written in Grails.
Creating a -war with the command grails prod war
https://groups.google.com/forum/#!forum/grails-dev-discuss please.
(copy over the applicationContext.xml from the 2.4 distro into your grails app)
Simply,
Remove grailsResourceLoader
bean reference (the line below) from applicationContext.xml
.
<property name="grailsResourceLoader" ref="grailsResourceLoader" />
and remove it from the property of grailsApplication
bean
and you will have:
<bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
<description>Grails application factory bean</description>
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
</bean>
See the section "Changes To applicationContext.xml" - http://grails.org/doc/2.4.x/guide/upgradingFrom23.html
Basically remove the reference of grailsResourceLoader and corresponding bean declaration form applicationContext.xml