I am using Grails 2.1.1 for developing some of the applications.
This is an older version. Recently I have changed my machine and after setting up everything, while compiling the grails project, it gives the following error:
$ grails clean
| Configuring classpath
:: problems summary ::
:::: WARNINGS
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework#spring-test;3.1.2.RELEASE: configuration not found in org.springframework#spring-test;3.1.2.RELEASE: 'master'. It was required from org.grails.internal#xxProject;0.1 test
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
I have tried several ways described over the internet as refresh-dependencies or Setting Groovy 1,8 on my class path.
Also I have tried to fix the issue by manually adding the .jar of the Spring-test.3.1.2 on the class path but it does not work and keep asking for Spring-test.3.1.2.zip missing rather than Spring-test.3.1.2.jar.
I have checked the Grails docs and they told there that new versions of Grails uses .jar of plugins rather than .zip files.
Please any one if you can help me. It has already wasted almost 3 weeks of mine. I can not switch to new versions as it is a complex project with several dependencies that does not work on higher version of Grails or Groovy.
Thanks