2017-07-14 84 views
0

here項目是一個Grails項目,但如果你有Grails的安裝3.3,並嘗試與運行「的Grails運行的應用程序」,它引發錯誤:Grails的3,怎麼跑這有一個更老的Grails版本

| Error Error initializing classpath: Unsupported method: GrailsClasspath.getError(). 
The version of Gradle you connect to does not support that method. 

任何想法如何運行它?我必須找到,安裝,然後改變我的路徑指向舊版本,或者有其他方式使用gradle嗎?

我看到有一種叫做gradlew.bat的東西,但是通過grails docs看,它沒有說如何使用它。 gradlew.bat就像grails命令行一樣,如果是的話,它在哪裏記錄如何使用它?

+0

是......需要有和使用正確版本的Grails。 – doelleri

回答

1

Any ideas how to run it?

./gradlew bootRun 

Do I have to find, install, then change my paths to point to the old version, or is there some other way using gradle?

不,你不必安裝搖籃,你不要與你的PATH做任何事情。這是包裝(gradlew)的要點。