Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Grails3,如何运行具有较旧Grails版本的项目_Grails - Fatal编程技术网

Grails3,如何运行具有较旧Grails版本的项目

Grails3,如何运行具有较旧Grails版本的项目,grails,Grails,是grails项目,但如果安装了grails 3.3,并尝试使用“grails run app”运行它,则会抛出错误: | Error Error initializing classpath: Unsupported method: GrailsClasspath.getError(). The version of Gradle you connect to does not support that method. 有什么办法吗?我是否必须查找、安装并更改路径以指向旧版本,或者是否有其他

是grails项目,但如果安装了grails 3.3,并尝试使用“grails run app”运行它,则会抛出错误:

| Error Error initializing classpath: Unsupported method: GrailsClasspath.getError().
The version of Gradle you connect to does not support that method.
有什么办法吗?我是否必须查找、安装并更改路径以指向旧版本,或者是否有其他方式使用gradle

我看到有一个叫做gradlew.bat的东西,但是通过查看,它没有说明如何使用它。gradlew.bat是否类似于grails命令行,如果是,在哪里记录了如何使用它

有什么办法吗

我是否必须查找、安装、然后更改路径以指向旧路径 版本,或者是否有其他方式使用gradle


不,您不必安装Gradle,也不必对路径进行任何操作。这就是包装的要点(gradlew)

是的。。。需要拥有并使用正确版本的Grails。
./gradlew bootRun