我下载了Grails事件推送sample。更新了BuildConfig中的插件并启动了应用程序。当我去主页(" /")时,它什么也没有显示;这是一个空白页面。但是在应用程序中它有一般代码(Gails欢迎消息和控制器列表)来显示。我在这里做错了吗?
运行应用时没有错误。我的BuildConfig.groovy:
runtime ":jquery:1.11.0.2"
runtime ":resources:1.2.7"
build ":tomcat:7.0.52.1"
runtime ":hibernate:3.6.10.9" // or ":hibernate4:4.3.4"
compile ":cache-ehcache:1.0.1"
compile ":platform-core:1.0.RC6"
compile ":events-push:1.0.M7
我尝试在我的其他项目中使用示例提供的代码,但得到相同的响应:空白页面。请帮忙。
答案 0 :(得分:1)
您尝试运行的repository是插件的源代码,而不是示例代码。
修改........................................... ........................ 强>
尝试this project(Grails 2.3.7)
问题在于tomcat版本,https://github.com/smaldini/grails-events-push/issues/55