Grails 2.1.1 に基づいて Eclipse (GGTS) にプロジェクトをインポートしましたが、バージョン 2.4.4 に更新する必要があります。32 ビット Eclipse バージョン (Kepler) で Windows 7 を使用しています。
依存関係を確認すると、次のエラーが発生します。
Starting process on CARMBEL11628/10.113.134.246
Loading Grails 2.4.4
|Configuring classpath
|Downloading: D:\Programme\grails-2.4.4\plugins\tomcat-7.0.55.pom
|Downloading: D:\Programme\grails-2.4.4\plugins\tomcat-7.0.55.zip
:: problems summary ::
:::: WARNINGS
Host repo.grails.org not found. url=https://repo.grails.org/grails/plugins/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-sources.jar
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-sources.jar
Host repo.grails.org not found. url=https://repo.grails.org/grails/plugins/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-src.jar
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-src.jar
Host repo.grails.org not found. url=https://repo.grails.org/grails/plugins/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-javadoc.jar
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.55/tomcat-7.0.55-javadoc.jar
Host repo.grails.org not found. url=https://repo.grails.org/grails/plugins/org/apache/tomcat/embed/tomcat-embed-core/7.0.55/tomcat-embed-core-7.0.55.pom
Host repo.grails.org not found. url=https://repo.grails.org/grails/plugins/org/apache/tomcat/embed/tomcat-embed-core/7.0.55/tomcat-embed-core-7.0.55.jar
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/7.0.55/tomcat-embed-core-7.0.55.pom
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/7.0.55/tomcat-embed-core-7.0.55.jar
module not found: org.apache.tomcat.embed#tomcat-embed-core;7.0.55
==== grailsPlugins: tried
....
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.pom
-- artifact org.eclipse.jdt.core.compiler#ecj;3.7.2!ecj.jar:
http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.apache.tomcat.embed#tomcat-embed-core;7.0.55: not found
:: org.apache.tomcat#tomcat-catalina-ant;7.0.55: not found
:: org.apache.tomcat.embed#tomcat-embed-jasper;7.0.55: not found
:: org.apache.tomcat.embed#tomcat-embed-logging-log4j;7.0.55: not found
:: org.apache.tomcat.embed#tomcat-embed-websocket;7.0.55: not found
:: org.eclipse.jdt.core.compiler#ecj;3.7.2: not found
::::::::::::::::::::::::::::::::::::::::::::::
エラーメッセージを解決する方法はありますか? BuildConfig.groovy (build ":tomcat:$grailsVersion" の代わりに build ':tomcat:7.0.55') を変更する方法に関するいくつかのアドバイスを見つけました。さらに、Ivy-cache を削除しました。
ありがとう、
一番