spring security - Grails: unable to resolve dependencies -


i'm having trouble find out why grails cannot resolve dependencies. error message when trying compile/clean/run-app:

==== localmavenresolver: tried          ....  ==== http://grails.org/plugins: tried         http://grails.org/plugins/grails-org.springframework.security.web/tags/release_3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://grails.org/plugins/grails-org.springframework.security.web/tags/release_3.0.4.release/grails-org.springframework.security.web-3.0.4.release.jar          ==== grailscentral: tried         http://grails.org/plugins/grails-org.springframework.security.web/tags/release_3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://grails.org/plugins/grails-org.springframework.security.web/tags/release_3.0.4.release/grails-org.springframework.security.web-3.0.4.release.jar          ==== http://repo.grails.org/grails/core: tried         http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.jar          ==== http://snapshots.repository.codehaus.org: tried         http://snapshots.repository.codehaus.org/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://snapshots.repository.codehaus.org/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.jar          ==== http://repository.codehaus.org: tried         http://repository.codehaus.org/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://repository.codehaus.org/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.jar          ==== http://repository.jboss.com/maven2/: tried         http://repository.jboss.com/maven2/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://repository.jboss.com/maven2/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.jar          ==== http://download.java.net/maven/2/: tried         http://download.java.net/maven/2/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.web;3.0.4.release!org.springframework.security.web.jar:         http://download.java.net/maven/2/org/springframework/security/org.springframework.security.web/3.0.4.release/org.springframework.security.web-3.0.4.release.jar          ==== localmavenresolver: tried          ....           ==== http://grails.org/plugins: tried         http://grails.org/plugins/grails-org.springframework.security.core/tags/release_3.0.4.release/org.springframework.security.core-3.0.4.release.pom         -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://grails.org/plugins/grails-org.springframework.security.core/tags/release_3.0.4.release/grails-org.springframework.security.core-3.0.4.release.jar             ==== grailscentral: tried               http://grails.org/plugins/grails-org.springframework.security.core/tags/release_3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://grails.org/plugins/grails-org.springframework.security.core/tags/release_3.0.4.release/grails-org.springframework.security.core-3.0.4.release.jar             ==== http://repo.grails.org/grails/core: tried               http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar             ==== http://snapshots.repository.codehaus.org: tried               http://snapshots.repository.codehaus.org/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://snapshots.repository.codehaus.org/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar             ==== http://repository.codehaus.org: tried               http://repository.codehaus.org/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://repository.codehaus.org/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar             ==== http://repository.jboss.com/maven2/: tried               http://repository.jboss.com/maven2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://repository.jboss.com/maven2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar             ==== http://download.java.net/maven/2/: tried               http://download.java.net/maven/2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:         http://download.java.net/maven/2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar          ==== mavencentral: tried               http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.pom               -- artifact org.springframework.security#org.springframework.security.core;3.0.4.release!org.springframework.security.core.jar:               http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.4.release/org.springframework.security.core-3.0.4.release.jar                   ::::::::::::::::::::::::::::::::::::::::::::::                 ::          unresolved dependencies         ::                 ::::::::::::::::::::::::::::::::::::::::::::::                 :: org.springframework.security#org.springframework.security.web;3.0.4.release: not found                 :: org.springframework.security#org.springframework.security.core;3.0.4.release: not found                 ::::::::::::::::::::::::::::::::::::::::::::::            | error failed resolve dependencies (set log level 'warn' in buildconfig.groovy more information):          - org.springframework.security:org.springframework.security.web:3.0.4.release         - org.springframework.security:org.springframework.security.core:3.0.4.release 

this included in buildconfig.groovy:

        grails.project.dependency.resolution = {     // inherit grails' default dependencies     inherits("global") {         // uncomment disable ehcache         // excludes 'ehcache'     }     log "warn" // log level of ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'     repositories {         grailsrepo "http://grails.org/plugins"         grailsplugins()         grailshome()         grailscentral()          mavenrepo "http://snapshots.repository.codehaus.org"         mavenrepo "http://repository.codehaus.org"         mavenrepo "http://repository.jboss.com/maven2/" }     }     plugins {         compile ":tomcat:2.1.3"         compile ":spring-security-core:1.2.7.3" 

i guess spring "security-core depends" on "org.springframework.security.web 3.0.4.release" , "org.springframework.security.core 3.0.4.release". have add plugin or dependecy?

try adding mavencentral() list of repositories.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -