I'm 2 days into web development using grails in GGTS. I'm following along with a book. The book uses the command line. So far this has been great, but now the book is using webtest. I've installed webtest on the command line, but how do I get it working inside of GGTS?
EDIT: I found the grails console inside of GGTS.. here's my output
grails> install-plugin webtest
Problem executing: install-plugin webtest
Command terminated with an exception: java.lang.Exception (see details for partial output)
Command: /usr/lib/jvm/java-7-oracle/bin/java (Dec 26, 2013, 11:22:59 AM)
---- System.out ----
| Loading Grails 2.1.1
| Configuring classpath
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:webtest:3.0.1
---- System.err ----
------System.out:-----------
| Loading Grails 2.1.1
| Configuring classpath
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:webtest:3.0.1
EDIT: After setting log level to 'warm' in BuildConfig.groovy:
| Loading Grails 2.1.1
| Configuring classpath
:: problems summary ::
:::: WARNINGS
module not found: org.grails.plugins#webtest;3.0.1
==== grailsPlugins: tried
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/Documents/workspace-ggts-3.5.0.M1/collab-todo/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/hibernate-2.1.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/resources-1.1.6/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/cache-1.0.0/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/webxml-1.4.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/database-migration-1.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/jquery-1.8.0/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/tomcat-2.1.1/lib/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/ivy-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/jars/webtest-3.0.1.jar
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/bundles/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/src/libs/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/src/libs/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/dist/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/dist/webtest-3.0.1.jar
==== grailsHome: tried
/home/adminuser/.grails/2.1.1/cached-installed-plugins/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.grails/2.1.1/cached-installed-plugins/webtest-3.0.1.jar
==== grailsHome: tried
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/plugins/webtest-3.0.1.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-webtest/tags/RELEASE_3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://grails.org/plugins/grails-webtest/tags/RELEASE_3.0.1/grails-webtest-3.0.1.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://repo.grails.org/grails/core/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== localMavenResolver: tried
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://repo1.maven.org/maven2/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== localMavenResolver: tried
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#webtest;3.0.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: problems summary ::
:::: WARNINGS
module not found: org.grails.plugins#webtest;3.0.1
==== grailsPlugins: tried
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/Documents/workspace-ggts-3.5.0.M1/collab-todo/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/hibernate-2.1.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/resources-1.1.6/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/cache-1.0.0/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/webxml-1.4.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/database-migration-1.1/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/jquery-1.8.0/lib/webtest-3.0.1.jar
/home/adminuser/.grails/2.1.1/projects/collab-todo/plugins/tomcat-2.1.1/lib/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/ivy-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/jars/webtest-3.0.1.jar
/usr/share/grails/2.1.1/lib/org.grails.plugins/webtest/bundles/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/src/libs/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/src/libs/webtest-3.0.1.jar
==== grailsHome: tried
/usr/share/grails/2.1.1/dist/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/dist/webtest-3.0.1.jar
==== grailsHome: tried
/home/adminuser/.grails/2.1.1/cached-installed-plugins/webtest-3.0.1.xml
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.grails/2.1.1/cached-installed-plugins/webtest-3.0.1.jar
==== grailsHome: tried
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/usr/share/grails/2.1.1/plugins/webtest-3.0.1.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-webtest/tags/RELEASE_3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://grails.org/plugins/grails-webtest/tags/RELEASE_3.0.1/grails-webtest-3.0.1.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://repo.grails.org/grails/core/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== localMavenResolver: tried
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
http://repo1.maven.org/maven2/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
==== localMavenResolver: tried
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.pom
-- artifact org.grails.plugins#webtest;3.0.1!webtest.jar:
/home/adminuser/.m2/repository/org/grails/plugins/webtest/3.0.1/webtest-3.0.1.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#webtest;3.0.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:webtest:3.0.1
The install-plugin command is now deprecated.
Try adding the following line to your BuildConfig.groovy:
compile ":webtest:3.0.1"
Then try launching the grails application from GGTS.
PS: Are you behind a proxy?
Related
Not able to resolved the IVY dependencies for Apache POI version 3.13
<dependencyorg="org.apache.poi"name="poi"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml-schemas"rev="3.13-beta1"/>
<dependencyorg="org.apache.poi"name="poi"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml-schemas"rev="3.13-beta1"/>
In Local, IVY is able to download the Apache POI jars, But when in jenkins build it is failing.? May i know why.?
<dependencyorg="org.apache.poi"name="poi"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml"rev="3.13"/>
<dependencyorg="org.apache.poi"name="poi-ooxml-schemas"rev="3.13-beta1"/>
==== local: tried
[ivy:resolve] /app/cp/.ivy2/local/org.apache.poi/poi-ooxml-schemas/3.13-beta1/ivys/ivy.xml
[ivy:resolve] -- artifact org.apache.poi#poi-ooxml-schemas;3.13-beta1!poi-ooxml-schemas.jar:
[ivy:resolve] /app/cp/.ivy2/local/org.apache.poi/poi-ooxml-schemas/3.13-beta1/jars/poi-ooxml-schemas.jar
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.poi#poi;3.13: not found
[ivy:resolve] :: org.apache.poi#poi-ooxml;3.13: not found
[ivy:resolve] :: org.apache.poi#poi-ooxml-schemas;3.13-beta1: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
I imported a grails project using Intellij idea. Now when i tried to run-app the project it shows the following error.
|Configuring classpath
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1 (Use --stacktrace to see the full trace)
Error |
Required Grails build dependencies were not found. This is normally due to internet connectivity issues (such as a misconfigured proxy) or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your configuration to continue.
Note I am using grails 2.3.8 version.
--Stacktrace results the following message
Configuring classpath
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1 (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:466)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:261)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317)
at grails.util.BuildSettings.doResolve(BuildSettings.groovy:513)
at grails.util.BuildSettings.doResolve(BuildSettings.groovy)
at grails.util.BuildSettings$_getDefaultBuildDependencies_closure17.doCall(BuildSettings.groovy:774)
at grails.util.BuildSettings$_getDefaultBuildDependencies_closure17.doCall(BuildSettings.groovy)
at grails.util.BuildSettings.getDefaultBuildDependencies(BuildSettings.groovy:768)
at grails.util.BuildSettings.getBuildDependencies(BuildSettings.groovy:673)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact xalan:serializer:pom:2.7.1 from/to grailsCentral (http://repo.grails.org/grails/plugins): repo.grails.org
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
... 10 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact xalan:serializer:pom:2.7.1 from/to grailsCentral (http://repo.grails.org/grails/plugins): repo.grails.org
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:342)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:649)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:247)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:536)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:437)
... 13 more
Caused by: java.net.UnknownHostException: repo.grails.org
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:137)
at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:294)
at org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:250)
at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(AbstractTransporter.java:59)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:418)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:337)
... 18 more
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1
Error |
Required Grails build dependencies were not found. This is normally due to internet connectivity issues (such as a misconfigured proxy) or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your configuration to continue.
I'd say java.net.UnknownHostException: repo.grails.org is the core issue. Do you need to configure a proxy? See the docs for the add-proxy command.
When using create-app command on cygwin, following dependencies error is received. My system has Windows 7, 64 bit, Grails 2.2.5, Java 1.6.0_45. Any pointers or guidance will be greatly appreciate :) Thanks!
$ grails create-app testCreateApp
| Loading Grails 2.2.5
| Configuring classpath
:: problems summary ::
:::: WARNINGS
module not found: commons-fileupload#commons-fileupload;1.3.1
==== grailsPlugins: tried
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs/lib/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/ivy-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/jars/commons-fileupload-1.3.1.jar
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/bundles/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\src\libs/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\src\libs/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\dist/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\dist/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\Users\raishs\.grails\2.2.5\cached-installed-plugins/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\Users\raishs\.grails\2.2.5\cached-installed-plugins/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/plugins/commons-fileupload-1.3.1.pom
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/plugins/commons-fileupload-1.3.1.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: commons-fileupload#commons-fileupload;1.3.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: problems summary ::
:::: WARNINGS
module not found: commons-fileupload#commons-fileupload;1.3.1
==== grailsPlugins: tried
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs/lib/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/ivy-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/jars/commons-fileupload-1.3.1.jar
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/lib/commons-fileupload/commons-fileupload/bundles/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\src\libs/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\src\libs/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\dist/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5\dist/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\Users\raishs\.grails\2.2.5\cached-installed-plugins/commons-fileupload-1.3.1.xml
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\Users\raishs\.grails\2.2.5\cached-installed-plugins/commons-fileupload-1.3.1.jar
==== grailsHome: tried
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/plugins/commons-fileupload-1.3.1.pom
-- artifact commons-fileupload#commons-fileupload;1.3.1!commons-fileupload.jar:
C:\cygwin64\home\raishs\.gvm\grails\2.2.5/plugins/commons-fileupload-1.3.1.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: commons-fileupload#commons-fileupload;1.3.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
commons-fileupload:commons-fileupload:1.3.1
I'm trying to install spring-security-core plugin to my project, but it seems that plugin files can't be found in any of the repositories.
I added this line to BuildConfig file's plugin section:
compile ':spring-security-core:2.0-RC2'
After running grails compile command I'm getting following errors (shortened):
==== ebrRelease: tried
http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:
http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar
==== ebrExternal: tried
http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:
http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_3.2.0.RC1/spring-security-core-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:
http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_3.2.0.RC1/grails-spring-security-core-3.2.0.RC1.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:
http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar
module not found: org.springframework.security#spring-security-web;3.2.0.RC1
==== grailsHome: tried
C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/ivy-3.2.0.RC1.xml
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/jars/spring-security-web-3.2.0.RC1.jar
C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/bundles/spring-security-web-3.2.0.RC1.jar
==== grailsHome: tried
C:\dev\springsource\grails-2.2.3\bin\..\src\libs/spring-security-web-3.2.0.RC1.xml
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
C:\dev\springsource\grails-2.2.3\bin\..\src\libs/spring-security-web-3.2.0.RC1.jar
==== grailsHome: tried
C:\dev\springsource\grails-2.2.3\bin\..\dist/spring-security-web-3.2.0.RC1.xml
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
C:\dev\springsource\grails-2.2.3\bin\..\dist/spring-security-web-3.2.0.RC1.jar
==== grailsHome: tried
C:\dev\springsource\grails-2.2.3\bin\../plugins/spring-security-web-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
C:\dev\springsource\grails-2.2.3\bin\../plugins/spring-security-web-3.2.0.RC1.jar
==== ebrRelease: tried
http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar
==== ebrExternal: tried
http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-spring-security-web/tags/RELEASE_3.2.0.RC1/spring-security-web-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
http://grails.org/plugins/grails-spring-security-web/tags/RELEASE_3.2.0.RC1/grails-spring-security-web-3.2.0.RC1.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom
-- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:
http://repo1.maven.org/maven2/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.security#spring-security-core;3.2.0.RC1: not found
:: org.springframework.security#spring-security-web;3.2.0.RC1: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.springframework.security:spring-security-core:3.2.0.RC1
- org.springframework.security:spring-security-web:3.2.0.RC1
I also added the ebr() repository to the repositories list. But that didn't change anything.
What could be done to resolve this problem and download the plugin correctly?
You need extra repository:
mavenRepo 'http://repo.spring.io/milestone'
See announce: http://grails.1312388.n4.nabble.com/Spring-Security-2-0-RC-release-td4649905.html
Try this:
Check (preferable from the same console) every URL grails is trying to download
curl --verbose http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_2.0-RC2/spring-security-core-2.0-RC2.pom
In my case I have detected that http://grails.org repository has been moved to https://repo.grails.org
HTTP/1.1 302 Found
Date: Fri, 06 Mar 2015 01:59:30 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 0
Connection: keep-alive
expires=Sat, 05-Mar-16 01:59:29 GMT; path=/; domain=.grails.org; HttpOnly
Location: https://repo.grails.org/grails/plugins-releases-local/org/grails/plugins/spring-security-core/2.0-RC2/spring-security-core-2.0-RC2.pom
Good luck!
I got the following warning, when i imported a project in GGTS 3.1.0 release, could anyone suggest me a solution for this warning.
:: problems summary ::
:::: WARNINGS
module not found: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/jars/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/bundles/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.core-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
module not found: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/jars/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/bundles/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.web-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE: not found
:: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: problems summary ::
:::: WARNINGS
module not found: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/jars/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/bundles/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.core-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
module not found: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/jars/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/bundles/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.web-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE: not found
:: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
org.springframework.security:org.springframework.security.core:3.0.3.RELEASE
org.springframework.security:org.springframework.security.web:3.0.3.RELEASE
There are two different sets of Spring-related JAR files in public Maven repositories. The ones in Maven Central use artifact IDs of the form spring-*, the ones in the SpringSource EBR use artifact IDs of the form org.springframework.*. Old versions (before 1.2) of the Grails spring-security-core plugin used to depend on the EBR artifacts, which in turn requires you to enable the EBR Maven repository in your BuildConfig. More recent versions (1.2 and later) use the Maven Central artifacts instead.