会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wzx101
博客园
首页
新随笔
联系
订阅
管理
2021年4月23日
Thymeleaf引用需要的头部文件
摘要: <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)
2021年4月22日
SpringMVC-applicationContext.xml
摘要: <?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)
SpringMVC-web.xml
摘要: 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)
2021年4月19日
Error:java:JDK isn’t specified for module
摘要: 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)
简单SpringMVC需要的依赖
摘要: <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)
2021年4月18日
Tomcat启动的时候中文乱码
摘要: apache-tomcat-9.0.44\conf中找到logging.properties java.util.logging.ConsoleHandler.encoding改为gdk
阅读全文
posted @ 2021-04-18 21:33 wzx101
阅读(61)
评论(0)
推荐(0)
idea中maven优先加载本地仓库
摘要: file/settings/Build,Execution,Deployment/Maven/RunnerVM Options:-DarchetypeCatalog=internal
阅读全文
posted @ 2021-04-18 17:53 wzx101
阅读(3550)
评论(0)
推荐(0)
idea中mybatis找不到.xml文件
摘要: 报错提示: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)
公告