【发布时间】:2012-02-17 06:56:36
【问题描述】:
当我运行时
git push heroku master
命令,我收到以下错误(如下)。对于这个thread,我卸载了heroku插件,安装了cloud-support插件,然后重新安装了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已安装 插件提供以下新脚本: ------------------------------------------ 圣杯雄猫 [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]@ 第 17 行,第 1 列。 [groovyc] 导入 grails.plugin.cloudsupport.AbstractCloudTagLib [常规] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails-
app/taglib/grails/plugin/heroku/HerokuTagLib.groovy:22:无法解析类 grails.plugin.cloudsupport.Abstr actCloudTagLib [groovyc]@第 22 行,第 1 列。 [groovyc] 类 HerokuTagLib 扩展 AbstractCloudTagLib { [常规] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/src/groovy/grails/plugin/heroku/HerokuBeanPostprocessor.groovy: 17: 无法解析类
grails.plugin.cloudsupport.A bstractCloudBean后处理器 [groovyc]@ 第 17 行,第 1 列。 [groovyc] 导入 grails.plugin.cloudsupport.AbstractCloudBeanPostprocessor [常规] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/src/groovy/grails/plugin/heroku/HerokuBeanPostprocessor.groovy: 27: 无法解析类
grails.plugin.cloudsupport.A bstractCloudBean后处理器 [groovyc]@第 27 行,第 1 列。 [groovyc] 类 HerokuBeanPostprocessor 扩展 AbstractCloudBeanPostprocessor { [常规] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/src/groovy/grails/plugin/heroku/HerokuMongoBeanConfigurer.groovy: 17: 无法解析类
grails.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc]@ 第 17 行,第 1 列。 [groovyc] 导入 grails.plugin.cloudsupport.AbstractMongoBeanConfigurer [常规] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-
1.0/src/groovy/grails/plugin/heroku/HerokuMongoBeanConfigurer.groovy: 24: 无法解析类
grails.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc]@第 24 行,第 1 列。 [groovyc] 类 HerokuMongoBeanConfigurer 扩展 AbstractMongoBeanConfigurer { [常规] ^ [groovyc] [groovyc] 6 个错误 执行脚本编译时出错::编译失败 : 编译失败 在 gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391) 在 gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) 在 gant.Gant$_dispatch_closure7.doCall(Gant.groovy) 在 gant.Gant.withBuildListeners(Gant.groovy:427) 在 gant.Gant.this$2$withBuildListeners(Gant.groovy) 在 gant.Gant$this$2$withBuildListeners.callCurrent(未知来源) 在 gant.Gant.dispatch(Gant.groovy:415) 在 gant.Gant.this$2$dispatch(Gant.groovy) 在 gant.Gant.invokeMethod(Gant.groovy) 在 gant.Gant.executeTargets(Gant.groovy:590) 在 gant.Gant.executeTargets(Gant.groovy:589) 原因::编译失败 在 org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:920) 在 org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:607) 在 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) 在 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) 在编译$_run_closure4_closure10.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-
app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 17: 无法解析类
grails.plugin.cloudsupport.AbstractCloudTagLib
在此之前的问题,注意 git push 让我没有机会响应 [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]
【问题讨论】: