首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >解决获取依赖关系时出错:无法读取org.grails.plugins的项目描述符:ckeditor:zip:3.6.6.1.0

解决获取依赖关系时出错:无法读取org.grails.plugins的项目描述符:ckeditor:zip:3.6.6.1.0
EN

Stack Overflow用户
提问于 2014-09-23 23:51:03
回答 1查看 8.1K关注 0票数 0

即使没有对BuildConfig.groovy进行任何更改,这也是一个经常出现的问题。

我在BuildConfig的插件部分有以下内容:

代码语言:javascript
复制
compile ":weceem:1.2"

这与产生错误的ckeditor-3.6.6.1.0有依赖关系:解决获取依赖关系的错误:无法读取org.grails.plugins的工件描述符:ckeditor:zip:3.6.6.1.0

我以前已经解决过这个问题,我把

代码语言:javascript
复制
compile ":ckeditor:3.6.6.1.1"

在上面与http://jira.jcatalog.com/browse/WCM-887?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel相同的部分中,它确实工作了一段时间。

然而,现在,即使引用了ckeditor 3.6.6.1.1,我也再次得到了相同的错误。

以下是dependency-report的输出:

代码语言:javascript
复制
|Configuring classpath
|Downloading: org/grails/plugins/ckeditor/3.6.6.1.0/ckeditor-3.6.6.1.0.pom
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0 (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0 (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0 (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0 (Use --stacktrace to see the full trace)
Error |
Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0
|Run 'grails dependency-report' for further information.
Error |
Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0
|Run 'grails dependency-report' for further information.
Error |
Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0
|Run 'grails dependency-report' for further information.
Error |
Failed to read artifact descriptor for org.grails.plugins:ckeditor:zip:3.6.6.1.0
|Run 'grails dependency-report' for further information.
Error |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
Error |
SLF4J: Defaulting to no-operation (NOP) logger implementation
Error |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
.
|Environment set to development
.
build - Dependencies for the build system only (total: 33)
+--- xalan:serializer:2.7.1
+--- org.grails:grails-bootstrap:2.3.7
|    \--- org.slf4j:jcl-over-slf4j:1.7.5
|    \--- org.slf4j:slf4j-api:1.7.5
|    \--- org.apache.ant:ant:1.8.4
|    \--- jline:jline:2.11
|    \--- org.apache.ant:ant-launcher:1.8.4
|    \--- org.apache.ant:ant-trax:1.7.1
|    \--- net.java.dev.jna:jna:4.0.0
|    \--- org.apache.ant:ant-junit:1.8.4
|    \--- org.codehaus.gant:gant_groovy1.8:1.9.6
|    \--- org.apache.ivy:ivy:2.3.0
|    \--- org.fusesource.jansi:jansi:1.11
+--- org.grails:grails-scripts:2.3.7
|    \--- org.spockframework:spock-core:0.7-groovy-2.0
|         \--- org.hamcrest:hamcrest-core:1.3
|    \--- junit:junit:4.11
+--- org.grails:grails-docs:2.3.7
|    \--- org.xhtmlrenderer:core-renderer:R8
|    \--- org.yaml:snakeyaml:1.8
|    \--- org.grails:grails-gdoc-engine:1.0.1
|    \--- com.lowagie:itext:2.0.8
|         \--- bouncycastle:bcmail-jdk14:138
|         \--- bouncycastle:bcprov-jdk14:138
|    \--- commons-lang:commons-lang:2.6
+--- org.grails.plugins:tomcat:7.0.52.1
|    \--- org.apache.tomcat:tomcat-catalina-ant:7.0.52
|    \--- org.apache.tomcat.embed:tomcat-embed-jasper:7.0.52
|         \--- org.apache.tomcat.embed:tomcat-embed-el:7.0.52
|    \--- org.apache.tomcat.embed:tomcat-embed-logging-log4j:7.0.52
|    \--- org.apache.tomcat.embed:tomcat-embed-websocket:7.0.52
|    \--- org.eclipse.jdt.core.compiler:ecj:3.7.2
|    \--- org.apache.tomcat.embed:tomcat-embed-core:7.0.52


|Downloading: org/grails/plugins/ckeditor/3.6.6.1.0/ckeditor-3.6.6.1.0.pom
Error |
Error executing script DependencyReport: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at org.grails.plugins:weceem:zip:1.2 -> org.grails.plugins:ckeditor:zip:3.6.6.1.0 (Use --stacktrace to see the full trace)
EN

回答 1

Stack Overflow用户

发布于 2014-10-25 02:56:08

尝试使用最新版本的Weceem: weceem-1.3-M1,还要注意在BuildConfig.groovy中我们需要额外的存储库

mavenRepo "http://repo.grails.org/grails/core

在最新版本中,我们有插件ckeditor-4.4.1.0

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25999483

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档