Rashedul.Rubel
Rashedul.Rubel

Reputation: 3584

Upgrade application to Grails 2.1.1

i have upgraded a grails application using grails upgrade command. But the problem is when i try to run the application using grails run-app, it shows unresolved dependency error as mentioned: | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig. roovy for more information):

What should i do to resolved dependencies and run the application. I tried to clean app using grails clean and also tried to install the dependencies with no success.

Any help will be appreciable. Thanks.

Upvotes: 0

Views: 69

Answers (1)

Ian Roberts
Ian Roberts

Reputation: 122364

I suspect you will need to upgrade your application's spring-security-core plugin dependency to a more recent version. There are two different sets of Spring-related JARs in different Maven repositories under different artifact IDs. The ones in Maven central are called spring-* and the ones in the SpringSource EBR are called org.springframework.*. Older versions of the spring-security-core Grails plugin depended on the EBR artifacts, newer versions use the ones in Maven Central.

Upvotes: 1

Related Questions