原因是因为没有定义404的页面,只需要在Springboot中加入如下代码即可
import org.springframework.boot.web.server.ConfigurableWebServerFactory;
import org.springframework.boot.web.server.ErrorPage;
import org
原因是因为没有定义404的页面,只需要在Springboot中加入如下代码即可
import org.springframework.boot.web.server.ConfigurableWebServerFactory;
import org.springframework.boot.web.server.ErrorPage;
import org