After springboot packages the jar package and deploys it, it prompts that the returned path cannot be parsed, that is, the html page cannot be parsed.

After springboot packages the jar package, the deployment and running project prompts a 500 error and cannot parse the page, but it runs normally on localhost and parses the corresponding page. The solution is

Change reture "/***"; to return "***" and remove the leading slash

Guess you like

Origin blog.csdn.net/luwei_cool/article/details/110424245