[英]A Grails run-app Error
When I typed the command grails run-app
into my terminal, I got this error message: 当我在终端中键入命令
grails run-app
,出现以下错误消息:
Error Server failed to start for port 8080: Address already in use (Use --stacktrace to see the full trace)
错误服务器无法启动端口8080:地址已在使用中(使用--stacktrace查看完整跟踪)
How do I get my application to launch? 如何启动我的应用程序?
That would indicate you already have something running on port 8080
. 这表明您已经在
8080
端口上运行了某些设备。 If you want to run your application on another port you can use the following command: 如果要在另一个端口上运行应用程序,则可以使用以下命令:
grails run-app -Dserver.port=8090
The above will run your application on port 8090
. 以上将在端口
8090
上运行您的应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.