Peter,

Even after changing it, I still get the same error.  Also, are you sure
about the incorrect syntax?  I see in the debug log that with my syntax it
is attempting to go to the Spring and JBoss repositories.

I'm wondering if the error has to do with what Andy brought up about the
404s due to browsing in a web browser.  The Spring repo is not viewable in a
browser and must be used using Maven (see here:
http://forum.springframework.org/showthread.php?p=338450).  Does Gradle read
Maven specific repos or is it using an HTTP client to get the jar files?

--Andrew

On Thu, Apr 14, 2011 at 5:29 AM, Peter Niederwieser <[email protected]>wrote:

>
> Rexxe wrote:
> >
> > Whoops, here is the repo block:
> >
> > repositories {
> >        mavenCentral()
> >        mavenLocal()
> >        mavenRepo urls: ["http://maven.springframework.org/milestone";,
> >                "http://repository.jboss.org/nexus/content/groups/public
> ",
> >                "http://maven.springframework.org/release";]
> >     }
> >
>
> It's a common misconception that multiple Maven repositories can be added
> this way. The correct syntax is:
>
> repositories {
>       mavenCentral()
>       mavenLocal()
>       mavenRepo urls: "http://maven.springframework.org/milestone";
>        mavenRepo urls:
> "http://repository.jboss.org/nexus/content/groups/public";
>        mavenRepo urls: "http://maven.springframework.org/release";
> }
>
> Do you mind to file an issue at http://issues.gradle.org that describes
> this
> trap?
>
> --
> Peter Niederwieser
> Developer, Gradle
> http://www.gradle.org
> Trainer & Consultant, Gradleware
> http://www.gradleware.com
> Creator, Spock Framework
> http://spockframework.org
>
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/Having-a-tough-time-as-a-Gradle-novice-tp4302105p4302877.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to