【问题标题】:Application start page blank, but server running应用程序起始页空白,但服务器正在运行
【发布时间】:2013-04-12 10:41:01
【问题描述】:

所以,我是 grails 开发的新手,这是我的问题。

当我创建了一个 grails 应用程序并浏览到本地主机时,我得到了这个:

浏览器(本地主机:8080 /test3)

页面(无法获取 /test3)

我做什么都没关系。有没有人遇到过这个问题?

这是服务器说它已启动并正在运行。

Created file test/unit/test3/HelloControllerTests.groovy
n156-p125:test3 bobby_falck$ grails run-app test3
| Server running. Browse to http://localhost:8080/test3

问题是它几天前没有给我这个错误消息。 :S

【问题讨论】:

  • 你能提供你的 Grails 版本吗?如果您创建一个全新的应用程序会发生这种情况?
  • 你的 UrlMappings.groovy 是什么样的?
  • 我只需要更改端口-_-

标签: grails localhost


【解决方案1】:

好的,我认为这有助于我解决问题:

grails> -Dserver.port="someportnumber" 运行应用程序

:)

【讨论】:

  • 嗯,我不记得了。对不起。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-05-13
  • 2017-04-19
  • 1970-01-01
  • 1970-01-01
  • 2017-08-30
相关资源
最近更新 更多