當我運行Grails的Heroku的插件 - 無法解析類grails.plugin.cloudsupport.AbstractCloudTagLib
git push heroku master
命令,我收到以下錯誤(如下圖)。每一個這thread,我卸載了heroku插件,安裝了雲支持插件,並重新安裝了heroku插件。這並沒有改變錯誤。我在這個插件上輸入了一個JIRA,但是在這裏發佈,這樣可以很容易地參考Grails人員能夠提供的任何解決方案,或者在需要關於問題/解決方案的對話時。
由於
錯誤是:
[MKDIR]創建目錄:/app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/tomcat-1.3.7 [解壓]展開:/ app/tmp/repo.git/.cache/cache/org.grails.plugins/tomcat/zips/tomcat-1.3.7.zip轉換爲
/app/.grails/1.3.7/projects/build_36v61myh1movb/plugins /tomcat-1.3.7 安裝插件tomcat-1.3.7到位置/app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/tomcat-
1.3.7。 ... 執行tomcat-1.3.7插件後安裝腳本... 插件tomcat-1.3.7安裝 插件提供了以下新腳本: --------------- --------------------------- grails tomcat [mkdir]創建目錄:/app/.grails/1.3.7/projects/build_36v61myh1movb/plugin-classes [groovyc]將106個源文件編譯爲/app/.grails/1.3.7/projects/build_36v61myh1movb/plugin-classes [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:啓動失敗: [groovyc ] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails-
app/taglib/grails/plugin/heroku/HerokuTagLib.groovy:17:無法解析類grails.plugin.cloudsupport.AbstractCloudTagLib [groovyc] @ line 17,column 1. [groovyc] import grails.plugin.cloudsupport .AbstractCloudTagLib [groovyc的]^ [groovyc的] [groovyc的] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails-
應用程序/標籤庫/ Grails的/插件/ heroku上/HerokuTagLib.groovy:22:無法解析類grails.plugin.cloudsupport.Abstr actCloudTagLib [groovyc] @ line 22,column 1. [groovyc] class HerokuTagLib extends AbstractCloudTagLib { [groovyc的]^ [groovyc的] [groovyc的] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/SRC /常規/ Grails的/插件/ heroku上/ HerokuBeanPostprocessor.groovy :17:無法解決類
grails.plugin.cloudsupport.A bstractCloudBeanPostprocessor [groovyc的] @ 17行,第1列 [groovyc的]進口grails.plugin.cloudsupport.AbstractCloudBeanPostprocessor [groovyc的]^ [ groovyc] [groovyc] /app/.grails/1.3。7 /項目/ build_36v61myh1movb /插件/ heroku-
1.0/src目錄/常規/ Grails的/插件/ Heroku的/ HerokuBeanPostprocessor.groovy:27:無法解析類
grails.plugin.cloudsupport.A bstractCloudBeanPostprocessor [groovyc的] @ 27行,第1列 [groovyc的]類HerokuBeanPostprocessor延伸AbstractCloudBeanPostprocessor { [groovyc的]^ [groovyc的] [groovyc的] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/src/groovy/grails /插件/ heroku上/ HerokuMongoBeanConfigurer.groovy:17:無法解決類
grails.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc的] @ 17行,第1列 [groovyc的]進口grails.plugin.cloudsupport.AbstractMongoBeanConfigurer [groovyc的]^ [groovyc的] [groovyc的] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/SRC /常規/ Grails的/插件/ heroku上/ HerokuMongoBeanConfigurer.groovy: 24:無法解決類
gra ils.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc的] @ 24行,第1列 [groovyc的]類HerokuMongoBeanConfigurer延伸AbstractMongoBeanConfigurer { [groovyc的]^ [groovyc的] [groovyc的] 6個錯誤 錯誤執行腳本編譯:編譯失敗 :編譯在gant.Gant $ _dispatch_closure5.doCall(Gant.groovy:391)失敗 在gant.Gant $ _dispatch_closure7.doCall(Gant.groovy:415) 在gant.Gant $ _dispatch_closure7.doCall(甘特。 groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this $ 2 $ withBuildListeners(Gant.groovy) at gant.Gant $ this $ 2 $ withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this $ 2 $ dispatch(Gant.groovy) at gant.Gant .invokeMethod(Gant.groovy) 在gant.Gant.executeTargets(Gant.groovy:590) 在gant.Gant.executeTargets(Gant.groovy:589) 引起:在編譯失敗org.codehaus.groovy 。 (org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:607) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 288) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at Compile $ _run_closure4_clos ure10.doCall(編譯:117) 在編譯$ _run_closure4_closure10.doCall(編譯) 在編譯$ _run_closure10.doCall(編譯:280) 在編譯$ _run_closure10.call(編譯) 在編譯$ _run_closure4.doCall(編譯: 104) 在編譯$ _run_closure3.doCall(編譯:69) 在gant.Gant $ _dispatch_closure5.doCall(Gant.groovy:381) ...... 10多個 造成的:org.codehaus.groovy.control.MultipleCompilationErrorsException:啓動失敗: /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails-
應用程序/標籤庫/ Grails的/插件/的Heroku/HerokuTagLib。常規:17:無法解析類
grails.plugin.cloudsupport.AbstractCloudTagLib在此之前
問題,注意混帳推給了我沒有機會到響應[Y,N]提示:
Plugin mail-1.0 installed
Resolving plugin JAR dependencies ...
Executing spring-security-ui-0.1.2 plugin post-install script ...
Plugin spring-security-ui-0.1.2 installed
Plugin provides the following new scripts:
------------------------------------------
grails s2ui-override
You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
No valid response entered - giving up asking.
Plugin mail-1.0-SNAPSHOT install aborted ...
You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
No valid response entered - giving up asking.
Plugin spring-security-core-1.2.1 install aborted ...
You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n]
Invalid option 'null' - must be one of: [y,n]
No valid response entered - giving up asking.
Plugin jquery-1.6.1.1 install aborted ...
[mkdir] Created dir: /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugin-classes
[groovyc] Compiling 106 source files to /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugin-classes
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[groovyc] /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugins/heroku-1.0/grails-app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 17: unable to resolve class grails.plugin.cloudsupport.Abstr
actCloudTagLib [groovyc的] @ 17行,第1列 [groovyc的]進口grails.plugin.cloudsupport.AbstractCloudTagLib [groovyc]^ [groovyc]
我已經嘗試了清理,重建,在heroku插件之前或之後安裝雲支持插件的每個組合,並且我得到了相同的錯誤。你可以在你的系統上檢查一下(Grails 1.3.7)嗎?另外,這個包含這些類文件的jar文件的名稱是什麼? – Ray
另請注意,在此之前我收到一些錯誤,似乎過去了,我沒有機會迴應。我將在問題陳述中包含上面的錯誤輸出。謝謝。 – Ray
我可以在C:/Users/Ray/.grails/1.3.7/projects/Momentum/plugins/cloud-support-1.0.8/下的系統中看到AbstractCloudTagLib.groovy,AbstractCloudBeanPostprocessor.groovy和AbstractCloudBeanPostprocessor.groovy文件。 SRC /常規/ Grails的/插件/ cloussupport。 – Ray