Default plugins errors after upgraded to Grails 2.2.2 from 2.2.0 -
after upgrading 2.2.0 2.2.2 i'm getting following errors when run grails:
2013-05-08 16:23:34,957 [localhost-startstop-1] debug support.pluginawareresourcebundlemessagesource - not resolve resources plugin resources-1.1.6 message: class path resource [web-app/file:/users/charlie/.grails/2.2.2/projects/gpa/resources/plugins/resources-1.1.6/grails-app/i18n/] cannot resolved url because not exist line | method ->> 70 | getobject in org.grails.datastore.gorm.bean.factory.abstractmappingcontextfactorybean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 109 | postprocessbeanfactory in org.grails.datastore.gorm.plugin.support.persistencecontextinterceptoraggregator | 303 | innerrun . . . . . . . in java.util.concurrent.futuretask$sync | 138 | run in java.util.concurrent.futuretask | 895 | runtask . . . . . . . in java.util.concurrent.threadpoolexecutor$worker | 918 | run in '' ^ 680 | run . . . . . . . . . in java.lang.thread
i several of each of plugins. 1 hibernate commented out:
2013-05-08 16:23:35,032 [localhost-startstop-1] debug support.pluginawareresourcebundlemessagesource - not resolve resources plugin hibernate-2.2.2 message: class path resource [web-app/file:/users/charlie/.grails/2.2.2/projects/gpa/resources/plugins/hibernate-2.2.2/grails-app/i18n/] cannot resolved url because not exist line | method ->> 70 | getobject in org.grails.datastore.gorm.bean.factory.abstractmappingcontextfactorybean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 109 | postprocessbeanfactory in org.grails.datastore.gorm.plugin.support.persistencecontextinterceptoraggregator | 303 | innerrun . . . . . . . in java.util.concurrent.futuretask$sync | 138 | run in java.util.concurrent.futuretask | 895 | runtask . . . . . . . in java.util.concurrent.threadpoolexecutor$worker | 918 | run in '' ^ 680 | run . . . . . . . . . in java.lang.thread
here buildconfig.groovy:
plugins { //runtime ":hibernate:$grailsversion" runtime ":jquery:1.8.3" runtime ":resources:1.1.6" compile ":lesscss-resources:1.3.3" // uncomment these (or add new ones) enable additional resources capabilities //runtime ":zipped-resources:1.0" //runtime ":cached-resources:1.0" //runtime ":yui-minify-resources:0.1.4" build ":tomcat:$grailsversion" //runtime ":database-migration:1.2.1" //compile ":cache:1.0.1" compile ":mongodb:1.2.0" compile ":mail:1.0.1" compile ":bcrypt:1.0" }
the thing runs, reason can't figure out why these errors being printed out. help? , why complaining hibernate when commented out?
it looks you're running master application additional plugins not mentioned in paste use of pluginawareresourcebundlemessagesource.
i recommend following in order :
rm -rf ~/.grails/2.2.2/projects/gpa rm -rf your_project_folder/target grails clean grails refresh-dependencies grails your_additional_system_properties_if_any run-app
Comments
Post a Comment