08 2021 档案
摘要:SpringBoot引入Tomcat 其实就是直接在pom.xml文件默认引入Tomcat的。。。。 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-json
阅读全文
摘要:背景 废话不多说,在用idea生成的web应用中,通过tomcat启动之后,无法访问@WebServlet定义的Servlet,报404错误 问题定位过程 由于项目是个demo,直接通过idea生成,理论上直接就可以用了。然后百度了一下,回答都是以下两种原因 web.xml协议版本太低,要3.0以上
阅读全文
摘要:背景 最近在学习nacos,拿了官方的样例在本地跑,但是在跑nacos-spring-cloud-example时,一直启动不起来,报错信息如下: Error starting ApplicationContext. To display the conditions report re-run y
阅读全文

浙公网安备 33010602011771号