报错一:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon May 16 11:21:31 CST 2022
There was an unexpected error (type=Method Not Allowed, status=405).
报错二:
java.net.SocketTimeoutException: failed to connect to /192.168.1.108 (port 8080) from /192.168.1.168 (port 55516) after 5000ms
解决方法:
1、检查访问路径是否出错
启动类继承SpringBootServletInitializer实现configure方法
在这里插入代码片
package com.example.demo;
import org.springframework.boot.