开发者

grails install plugin blazeds failed due to unresolved dependencies

开发者 https://www.devze.com 2023-04-11 04:25 出处:网络
I trying to integrate Flex with Grails through BlazeDS BUT i am stuck with the very first step i.e installing BlazeDS plugin ... it fails everytime i try to install. Following is the complete stacktra

I trying to integrate Flex with Grails through BlazeDS BUT i am stuck with the very first step i.e installing BlazeDS plugin ... it fails everytime i try to install. Following is the complete stacktrace

Resolving plugin JAR dependencies ...
:: problems summary ::
:::: WARNINGS
    module not found: com.adobe.flex#flex-messaging-opt;4.0.0.14931.1

==== grailsHome: tried

  D:\Platforms\Grails\grails-1.3.7\lib/flex-messaging-opt-4.0.0.14931.1.xml

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  D:\Platforms\Grails\grails-1.3.7\lib/flex-messaging-opt-4.0.0.14931.1.jar

==== grailsHome: tried

  D:\Platforms\Grails\grails-1.3.7\dist/flex-messaging-opt-4.0.0.14931.1.xml

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  D:\Platforms\Grails\grails-1.3.7\dist/flex-messaging-opt-4.0.0.14931.1.jar

==== grailsHome: tried

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  D:\Platforms\Grails\grails-1.3.7/plugins/grails-flex-messaging-opt-4.0.0.14931.1.jar

==== grailsCentral: tried

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://svn.codehaus.org/grails-plugins/grails-flex-messaging-opt/tags/RELEASE_4_0_0_14931_1/grails-flex-messaging-opt-4.0.0.14931.1.jar

==== grailsCore: tried

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://svn.codehaus.org/grails/trunk/grails-plugins/grails-flex-messaging-opt/tags/RELEASE_4_0_0_14931_1/grails-flex-messaging-opt-4.0.0.14931.1.jar

==== mavenCentral: tried

  http://repo1.maven.org/maven2/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://repo1.maven.org/maven2/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== ebrRelease: tried

  http://repository.springsource.com/maven/bundles/release/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://repository.springsource.com/maven/bundles/release/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== ebrExternal: tried

  http://repository.springsource.com/maven/bundles/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://repository.springsource.com/maven/bundles/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== http://maven.springframework.org/external: tried

  http://maven.springframework.org/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://maven.springframework.org/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== http://maven.springframework.org/milestone: tried

  http://maven.springframework.org/milestone/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://maven.springframework.org/milestone/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== ebrRelease: tried

  http://repository.springsource.com/maven/bundles/release/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://repository.springsource.com/maven/bundles/release/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== ebrExternal: tried

  http://repository.springsource.com/maven/bundles/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://repository.springsource.com/maven/bundles/external/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== http://maven.sinusgear.com/maven_repo: tried

  http://maven.sinusgear.com/maven_repo/com/adobe/flex/flex-messaging-opt/4.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.pom

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  http://maven.sinusgear.com/maven_repo/com/adobe/flex/flex-messaging-opt/4开发者_StackOverflow中文版.0.0.14931.1/flex-messaging-opt-4.0.0.14931.1.jar

==== grailsPlugins: tried

  -- artifact com.adobe.flex#flex-messaging-opt;4.0.0.14931.1!flex-messaging-opt.jar:

  D:\Work\Personal\Grails\todolist/lib/flex-messaging-opt-4.0.0.14931.1.jar

  C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\blazeds-2.0/lib/flex-messaging-opt-4.0.0.14931.1.jar

  C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\hibernate-1.3.7/lib/flex-messaging-opt-4.0.0.14931.1.jar

  C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\spring-security-acl-1.1/lib/flex-messaging-opt-4.0.0.14931.1.jar

  C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\spring-security-core-1.2.1/lib/flex-messaging-opt-4.0.0.14931.1.jar

  C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\tomcat-1.3.7/lib/flex-messaging-opt-4.0.0.14931.1.jar

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

    ::          UNRESOLVED DEPENDENCIES         ::

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

    :: com.adobe.flex#flex-messaging-opt;4.0.0.14931.1: not found

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


[delete] Deleting directory C:\Users\Akeel\.grails\1.3.7\projects\todolist\plugins\spring-security-core-1.2.1
Failed to install plugin [blazeds-2.0]. Plugin has missing JAR dependencies.

I would really appreciate if someone could help me resolving this issue. Thanks


I have faced same problem recently on grails 1.3.7. By somehow this problem was reproduced only in Windows but not in Ubuntu. So i just copy ivy cache from Ubuntu to Windows and now it's ok. I don't know can I place this jars on the internet, so anyway you can manually download them from some maven or ivy repository.


Add the following line to the repositories section of your BuildConfig.groovy file:

mavenRepo "https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.0.RELEASE/local-repo/"

Adapted from this other SO question.


It is Windows' problem. It looks like a corrupt ivy cache. Just delete ivy-cache folder in .grails. For Windows 7, it's: C:\Users[USER NAME].grails\ivy-cache.

It will be regenerated when you use grails command. Hope it helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号