我们已经好几个月工作的Grails系统现在有一个问题,即/login/auth
页面显示为空白。
构建问题仅发生在已部署的Tomcat或独立系统上,而不是发生在工作正常的本地开发机器上。控制台上根本没有出现错误。
Chrome中的“网络”标签显示404 error
。我们在auth()
内的LoginController
方法中放置了控制台调试消息,但这些消息并没有显示出来。
在intellij Idea中工作正常,生成.war
文件(./gradlew assemble
)后,系统无效。
答案 0 :(得分:0)
If you get an 404 error, you should check all of the config files e.g. database settings. Somewhere must be a difference in those settings. Usually it is database connection which causes such kind of errors.
您还可以检查Tomcat服务器目录中的Catalina.log以查找错误。