关于spring boot 集成 jsp 出现的如下问题: There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp 解决的方法总结如下: 聚合模块(POM)下,如果出现 ...
关闭运行的模块 点开该模块的插件 选择springboot gt springboot:run 点击上面的 绿色 钮运行。博主再访问问题就解决了 ...
2021-06-03 19:09 0 1186 推荐指数:
关于spring boot 集成 jsp 出现的如下问题: There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp 解决的方法总结如下: 聚合模块(POM)下,如果出现 ...
原因是tomcat中的jar包和lib中的jar包冲突,去掉jsp-api.jar即可。 我的是把server 删掉了,重新build path-->add libraries--> Server Runtime 即可。 ...
网址Url 输错了, 我的具体如下 http://localhost:8080/items/home_item 去掉里面的s就正常了 http://localh ...
错误如图所示: 在使用以下解决方法时,请先确定配置信息以及代码编写无误,比如: 1.访问页面index存在且路径正确 2.url地址输入正确 下面进入正题: 1.选择Edit C ...
@GetMapping设置的为“/”,但是访问localhost:8080/,一直出现404,No message availa,搜索了下问题,一般就是url出错,或者启动类没有扫描到, 然后我再控制器,输出sout,System.out.println("这里竟然进来了!"); 发现时可以输出 ...
页面访问http://localhost:8080/hello 1.检查url是否正确 下面的是 :http://localhost:8080/hello ...
我是跟着《深入浅出 Spring Boot 2.x》这本书学习的,在“初识Spring MVC”章节中,搭建项目,然后访问jsp页面时报错:Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/details.jsp 1、因为没有书本中说的 ...
HTTP Status 500 - An exception occurred processing JSP page /WEB-INF/test/showCountry.jsp at line 11type Exception reportmessage An exception ...