Grails 2.4.4 Indestructible Dependencies cglib 2.2.2

I am trying to upgrade a project to Grails version 2.4.4, but it continues to work with the following error message:

:: problems summary :: :::: WARNINGS :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: cglib#cglib;2.2.2: configuration not found in cglib#cglib;2.2.2: 'compile'. It was required from org.grails#grails-plugin-testing;2.4.4 runtime :::::::::::::::::::::::::::::::::::::::::::::: Error | Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information): - cglib:cglib:2.2.2 (Use --stacktrace to see the full trace) Error | Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information): - cglib:cglib:2.2.2 |Run 'grails dependency-report' for further information. 

This is strange because the library is available. I see this under grails-2.4.4 \ lib \ cglib \ cglib \ jars and in my home directory under .grails \ ivy-cache \ cglib \ cglib \ jars

My GRAILS_HOME is set correctly and for what I see everything looks fine, but when I execute the update-dependent dependencies, it continues to throw this error.

+7
dependencies grails cglib
source share
1 answer

When upgrading from Grails 2.1 to 2.4.4, I found that I had the same problem. The resolution was to explicitly establish:

 grails.project.dependency.resolver = "maven" 

at BuildConfig.groovy. Then I was able to move on to the next issue in the update ...; -)

+11
source share

All Articles