Quantcast

unresolved dependencies 1.3.2

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

unresolved dependencies 1.3.2

bkbonner
I recently installed Grails 1.3.2 and tried creating a sample app using:

grails create-app testapp


I received the following errors messages.

          C:\Users\bbonner\.grails\1.3.2\projects\testapp\plugins\hibernate-1.3.
2/lib/jacc-1.0.jar

                module not found: ant#ant;1.6.5

        ==== grailsHome: tried

          c:\grails-1.3.2\lib/ant-1.6.5.xml

          -- artifact ant#ant;1.6.5!ant.jar:

          c:\grails-1.3.2\lib/ant-1.6.5.jar

        ==== grailsHome: tried

          c:\grails-1.3.2\dist/ant-1.6.5.xml

          -- artifact ant#ant;1.6.5!ant.jar:

          c:\grails-1.3.2\dist/ant-1.6.5.jar

        ==== grailsHome: tried

          -- artifact ant#ant;1.6.5!ant.jar:

          c:\grails-1.3.2/plugins/grails-ant-1.6.5.jar

        ==== grailsCentral: tried

          -- artifact ant#ant;1.6.5!ant.jar:

          http://svn.codehaus.org/grails-plugins/grails-ant/tags/RELEASE_1_6_5/g
rails-ant-1.6.5.jar

        ==== grailsCore: tried

          -- artifact ant#ant;1.6.5!ant.jar:

          http://svn.codehaus.org/grails/trunk/grails-plugins/grails-ant/tags/RE
LEASE_1_6_5/grails-ant-1.6.5.jar

        ==== grailsPlugins: tried

          -- artifact ant#ant;1.6.5!ant.jar:

          C:\work\workspace\galileo\testapp/lib/ant-1.6.5.jar

          C:\Users\bbonner\.grails\1.3.2\projects\testapp\plugins\hibernate-1.3.
2/lib/ant-1.6.5.jar

                module not found: org.hibernate#hibernate-cglib-repack;2.1_3

        ==== grailsHome: tried

          c:\grails-1.3.2\lib/hibernate-cglib-repack-2.1_3.xml

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          c:\grails-1.3.2\lib/hibernate-cglib-repack-2.1_3.jar

        ==== grailsHome: tried

          c:\grails-1.3.2\dist/hibernate-cglib-repack-2.1_3.xml

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          c:\grails-1.3.2\dist/hibernate-cglib-repack-2.1_3.jar

        ==== grailsHome: tried

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          c:\grails-1.3.2/plugins/grails-hibernate-cglib-repack-2.1_3.jar

        ==== grailsCentral: tried

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          http://svn.codehaus.org/grails-plugins/grails-hibernate-cglib-repack/t
ags/RELEASE_2_1_3/grails-hibernate-cglib-repack-2.1_3.jar

        ==== grailsCore: tried

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          http://svn.codehaus.org/grails/trunk/grails-plugins/grails-hibernate-c
glib-repack/tags/RELEASE_2_1_3/grails-hibernate-cglib-repack-2.1_3.jar

        ==== grailsPlugins: tried

          -- artifact org.hibernate#hibernate-cglib-repack;2.1_3!hibernate-cglib
-repack.jar:

          C:\work\workspace\galileo\testapp/lib/hibernate-cglib-repack-2.1_3.jar


          C:\Users\bbonner\.grails\1.3.2\projects\testapp\plugins\hibernate-1.3.
2/lib/hibernate-cglib-repack-2.1_3.jar

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: servletapi#servletapi;2.4-20040521: not found

                :: jspapi#jsp-api;2.0-20040521: not found

                :: javax.security#jaas;1.0.01: not found

                :: javax.security#jacc;1.0: not found

                :: ant#ant;1.6.5: not found

                :: org.hibernate#hibernate-cglib-repack;2.1_3: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


Failed to install plugin [hibernate-1.3.2]. Plugin has missing JAR dependencies.

   [delete] Deleting directory C:\Users\bbonner\.grails\1.3.2\projects\testapp\p
lugins\hibernate-1.3.2


Should all of these error messages come up by default?  I've used grails back in the 1.1 day, but I was surprised by these error messages.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

Robert Fletcher-2
Looks like the same issue as the one I reported in the thread "Problem
with Grails 1.3.2 and non-jar dependencies". The JIRA issue is
http://jira.codehaus.org/browse/GRAILS-6420

With the number of dependencies you've got there, I would try Grails
1.3.1 for now.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

Graeme Rocher-3
I doubt this is GRAILS-6420 since he is getting it with create-app which doesn't have the problem for me

Cheers

On 21 Jun 2010, at 06:30, Robert Fletcher wrote:

> Looks like the same issue as the one I reported in the thread "Problem
> with Grails 1.3.2 and non-jar dependencies". The JIRA issue is
> http://jira.codehaus.org/browse/GRAILS-6420
>
> With the number of dependencies you've got there, I would try Grails
> 1.3.1 for now.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
You're correct Graham,  I'm using create-app.

I'm using jdk 1.6.  I will download grails-1.3.2 to another machine and try it there.  I made sure that I cleaned out my .grails folder in my user directory.   It seemed odd that it would occur with create-app which would be a fundamental operation.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
Just ran it on another machine and it ran w/o any problems.    Any pointers on how I can figure out what the problem is on my other machine?  Is there a debug mode for the 'grails create-app' command?

I'm wondering if there is an issue with my local maven repository on the other machine.

Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
I tried version 1.3.1 and got similar errors ("Unresolved Dependencies").

I'm trying to narrow down what the problem could be.

Here's what I know about the 'failing machine'.
 * I'm running Windows Vista.  

It almost seems like either a network issue (but where it's failing is an open network), or an ivy config issue or conflict.

Struggling w/ where to look for more information or a failure message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
In reply to this post by bkbonner
On my 'working' machine, I receive this the first time I run grails create-app...

Welcome to Grails 1.3.2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: c:\grails-1.3.2

Base Directory: C:\temp
Resolving dependencies...
Downloading: c:\grails-1.3.2\lib\gpars-0.9.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\svnkit-1.3.1.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\ant-1.7.1.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\ant-launcher-1.7.1.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\ant-junit-1.7.1.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\ant-nodeps-1.7.1.jar ...
Download complete.
Downloading: c:\grails-1.3.2\lib\ant-trax-1.7.1.jar ...
Download complete.
[snip/]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

Robert Fletcher-2
Is Grails installed in the same place on the failing machine? I've
seen things not work before when they're in a path that contains
spaces on Windows.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

modaddy
This post has NOT been accepted by the mailing list yet.
I was having the same problem, but found this thread that provided the solution, which was to delete my local ivy cache.

http://www.pubbs.net/201005/grails/21942-grails-user-grails-130-failed-to-install-plugin-hibernate-130-.html

HTH,
Michael
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

Dean Del Ponte-2
In reply to this post by Robert Fletcher-2
I'm was getting the same problem.  Ran fine on my development box (Windows XP and OS X) but failed in Hudson which is running on a Linux build server.

I fixed the problem on Hudson by:
1.  Checking the "force upgrade" checkbox in the job configuration
2.  Removing the following apache-shiro line from Config.groovy:
security.shiro.authentication.strategy = new org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy()

Maybe this will help you?!

- Dean Del Ponte

On Tue, Jun 22, 2010 at 7:46 AM, Robert Fletcher <[hidden email]> wrote:
Is Grails installed in the same place on the failing machine? I've
seen things not work before when they're in a path that contains
spaces on Windows.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

pledbrook
In reply to this post by bkbonner
> On my 'working' machine, I receive this the first time I run grails
> create-app...
>
> Welcome to Grails 1.3.2 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: c:\grails-1.3.2
>
> Base Directory: C:\temp
> Resolving dependencies...
> Downloading: c:\grails-1.3.2\lib\gpars-0.9.jar ...

This is expected and what I got on a fresh install of Grails 1.3.2 on
a Windows Vista box. Have you tried clearing the Ivy cache on your
Vista machine? It should be in %HOME%\.ivy2\cache, where %HOME% is
your user home directory.

Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
In reply to this post by modaddy
Thanks.  I hope deleting the IVY cache will do the trick.  Not sure how it became populated...maybe from prior grails work.  I'll give it a shot tonight.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: unresolved dependencies 1.3.2

bkbonner
Deleting the ivy cache did the trick.  Thanks!
Loading...