尝试在新笔记本电脑上开始使用grails。 (运行ubuntu 16.04 LTS)
| Grails版本:3.2.6
| Groovy版本:2.4.7
| JVM版本:1.8.0_121
以下代码给出以下错误:
connor@connor-Swift-SF314-51:~/GrailsTutorial$ grails create-app TaskList
| Error Error occurred running Grails CLI: /home/connor/GrailsTutorial/TaskList/gradle.properties (No such file or directory) (Use --stacktrace to see the full trace)
我已经尝试重新安装并运行多个教程,但到目前为止,仍然没有成功。 有什么想法吗?
(如果你想要的话,这里是完整的堆栈跟踪......)
java.io.FileNotFoundException: /home/connor/GrailsTutorial/TaskList/gradle.properties (No such file or directory)
at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:259)
at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:234)
at org.apache.tools.ant.util.ResourceUtils.getOutputStream(ResourceUtils.java:843)
at org.apache.tools.ant.util.ResourceUtils.copyWithFilterSets(ResourceUtils.java:680)
at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:416)
at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:559)
at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:892)
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:566)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.grails.cli.profile.commands.CreateAppCommand.copySrcToTarget(CreateAppCommand.groovy:616)
at org.grails.cli.profile.commands.CreateAppCommand.copySkeleton(CreateAppCommand.groovy:585)
at org.grails.cli.profile.commands.CreateAppCommand.handle(CreateAppCommand.groovy:251)
at org.grails.cli.profile.commands.CreateAppCommand.handle(CreateAppCommand.groovy:332)
at org.grails.cli.GrailsCli.executeCommandWithArgumentValidation(GrailsCli.groovy:286)
at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:262)
at org.grails.cli.GrailsCli.main(GrailsCli.groovy:159)
感谢您的帮助,