摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency></dependencies> <xmlns:th 阅读全文
posted @ 2021-04-23 22:51 wzx101 阅读(916) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-04-22 08:23 wzx101 阅读(70) 评论(0) 推荐(0)
摘要: web.xml<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-04-22 08:22 wzx101 阅读(37) 评论(0) 推荐(0)
摘要: 1.删除 .idea重新启动idea 2.重新配置tomcat 可能会说你这个项目不是web项目 3点击fix 点击 + 号 添加一个web Application:exploded 4右击 点击put into output root 5 重新启动tomcat 总结:就是tomcat没有找到所需要 阅读全文
posted @ 2021-04-19 12:23 wzx101 阅读(871) 评论(0) 推荐(0)
摘要: <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <dependency> <groupId>org.sp 阅读全文
posted @ 2021-04-19 11:46 wzx101 阅读(2006) 评论(0) 推荐(0)
摘要: apache-tomcat-9.0.44\conf中找到logging.properties java.util.logging.ConsoleHandler.encoding改为gdk 阅读全文
posted @ 2021-04-18 21:33 wzx101 阅读(61) 评论(0) 推荐(0)
摘要: file/settings/Build,Execution,Deployment/Maven/RunnerVM Options:-DarchetypeCatalog=internal 阅读全文
posted @ 2021-04-18 17:53 wzx101 阅读(3550) 评论(0) 推荐(0)
摘要: 报错提示:Could not find resource mybatis-config.xml 1.<mapper resource="com/wzx/mapper/BookMapper.xml"/>写错了2.target中没有加载.xml文件, 需要在pom文件中添加 <build> <resou 阅读全文
posted @ 2021-04-18 17:51 wzx101 阅读(462) 评论(0) 推荐(0)