我正在使用grails應用程序,需要刪除Tomcat插件以便能夠在Google App Engine上進行託管(另請參閱Jetty用於其他項目)Grails - 卸載Tomcat時出現問題 - 無法刪除catalina-ant.jar
按照說明on Grails app engine documentation,我需要刪除Tomcat,因爲GAE應用程序只能在其服務器上運行。
不過,我不斷收到此錯誤(錯誤信息是更長的時間,只發布第幾行):
: Unable to delete file C:\Users\Rama\.grails\1.3.7\projects\ccubemanager\plugins\tomcat-1.3.7\lib\catalina-ant.jar
at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:624)
at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:683)
at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679)
at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:543)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
我想知道如果手動刪除卡塔利娜 - ant.jar文件將是一個明智的選擇。
我試圖手動刪除整個/ plugin目錄反正以下this和它造成的,我不能在應用程序運行任何命令更亂:
groovy.lang.MissingMethodException: No signature of method: java.math.BigInteger.call() is applicable for argument types: (java.lang.String) values: [target/classes]
Possible solutions: wait(), abs(), abs(), any(), wait(long), add(java.math.BigInteger)
at BuildConfig.run(BuildConfig.groovy:1)
at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:653)
at grails.util.BuildSettings$loadConfig.callCurrent(Unknown Source)
at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:630)
WARNING: There was an error loading the BuildConfig: No signature of method: java.math.BigInteger.call() is applicable for argument types: (java.lang.String) values: [target/classes]
Possible solutions: wait(), abs(), abs(), any(), wait(long), add(java.math.BigInteger)
我也嘗試啓動一個全新的項目和卸載tomcat,令人驚訝的是它也不起作用?
我正在使用Grails 1.3.7; STS 2.6.0; Windows 7
任何人都可以請幫助,非常感謝!
我相信OpenJDK和最新的Grails有一些問題,它們阻止它在App Engine上工作... http://stackoverflow.com/questions/4978879/grails-vs-gaelyk-for-new-groovy- appengine-application/4979085#4979085 – 2011-04-07 13:37:20