Unable to upgrade from grails 2.3.4 to 2.4.3 - Cannot find GrailsResourceLoaderFactoryBean -



Unable to upgrade from grails 2.3.4 to 2.4.3 - Cannot find GrailsResourceLoaderFactoryBean -

problem

i trying upgrade grails app 2.3.4 2.4.3 next instructions @ link http://grails.org/doc/2.4.3/guide/upgradingfrom23.html

and not seem able accomplish it. getting @ compile time cannot find grailsresourceloaderfactorybean initialization error. understand no longer nowadays in grails 2.4 still wants somehow. made sure applicationcontext.xml same 1 generated brand new project , error still happens.

what have tried

1/ grails set-grails-version 2.4.3 updated application properties

2/ added next buildconfig

// plugins build scheme build ":tomcat:7.0.55" // plugins compile step compile ":scaffolding:2.1.2" compile ':cache:1.1.7' compile ":asset-pipeline:1.9.6" compile ":mail:1.0.7" compile ':spring-security-core:2.0-rc3' compile ":spring-security-ldap:2.0-rc2" compile ":spring-security-ui:1.0-rc2" compile ":cache-headers:1.1.7" // uncomment these (or add together new ones) enable additional resources capabilities runtime ':hibernate4:4.3.5.2' // or ':hibernate:3.6.10.14' runtime ':database-migration:1.4.0' runtime ':jquery:1.11.0.2' runtime ':resources:1.2.13' runtime ":zipped-resources:1.0" runtime ":cached-resources:1.0"

3/ have removed line applicationcontext.xml

<property name="grailsresourceloader" ref="grailsresourceloader" />

4/ have deleted project under userprofile.grails\2.4.3\projects performed grails refresh-dependencies , still no luck!

take @ stacktrace:

i think found reply problem. apparently, forgot remove next declaration applicationcontext.xml. should have known better, however, missing in official upgrade documentation.

<bean id="grailsresourceloader" class="org.codehaus.groovy.grails.commons.grailsresourceloaderfactorybean" />

grails upgrade grails-2.0

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -