服务器上 type=Internal Server Error, status=500 错误解决办法

时间:2025-03-01 10:42:21

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Nov 28 11:23:25 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
Error resolving template “/program/program_detail”, template might not exist or might not be accessible by any of the configured Template Resolvers

  • stringboot 项目 在本机测试没问题,服务器上出现这个问题,苦思冥想,最后终于解决,原来在服务器上所有的连接 /program/program_detail 前面不要加 / 根据经,会默认去匹配后的路径,在此记录一下,以免后面忘记。