0
良いmoorning。 私はgrailsを使用しています。私はRestBuilderを使う必要がありますが、EclipseはRestBuilderを認識しません。私はBuild.Configにこの事を持っている:Grails RestBuilderプラグインが認識されません
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-dependencies"
compile "org.grails:grails-web-boot"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:scaffolding"
compile "org.grails.plugins:hibernate4"
compile "org.hibernate:hibernate-ehcache"
compile "org.grails.plugins:ajax-tags:1.0.0.RC1"
compile 'org.grails.plugins:spring-security-core:3.1.1'
compile 'org.grails:grails-datastore-rest-client:5.0.0.RC2'
compile "org.grails.plugins:rest-client-builder:2.1.1"
compile "org.grails.plugins:rest:0.8"
compile "org.grails.plugins:grails-rest-renderers:0.5.1-RC1"
console "org.grails:grails-console"
profile "org.grails.profiles:web:3.1.7"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.8.2"
runtime "com.h2database:h2"
runtime "mysql:mysql-connector-java:5.1.36"
runtime "org.apache.httpcomponents:httpclient:4.3.6"
testCompile "org.grails:grails-plugin-testing"
testCompile "org.grails.plugins:geb"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
私もこれらの輸入を試してみました:
import grails.plugins.rest.client.RestBuilder
import grails.plugins.rest.client.RestResponse
import grails.plugins.rest.client.RestBuilder
は、誰も私を助けてくださいことはできますか?私はgrails 3.1.7を使用しています。ありがとう。
それは働いた!どうもありがとう。 Eclipseリフレッシュライブラリシステムにも別の問題がありましたが、問題なく解決しました。ありがとうございました。 –