springboot
邱博士0
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用mybatis-plus自动生成代码后报错.UnsatisfiedDependencyException: Error creating bean with name ‘adminInfoSer”
用idea创建了Springboot+maven项目,然后使用mybatis-plus自动生成了XXmapper.xml、entity、service、serviceImpl代码。启动项目报错如下: 解决方案在与mapper映射的dao上添加注解@Mapper原创 2020-11-19 15:27:24 · 985 阅读 · 0 评论 -
springboot集成thymeleaf
Thymeleaf Thymeleaf是跟Velocity、FreeMarker类似的模板引擎,它可以完全替代JSP,相较与其他的模板引擎,它主要有以下几个特点: Thymeleaf在有网络和无网络的环境下皆可运行,即它可以让美工在浏览器查看页面的静态效果,也可以让程序员在服务器查看带数据的动态页面效果。这是由于它支持 html 原型,然后在 html 标签里增加额外的属性来达到模板+数据的展...原创 2020-05-05 22:30:40 · 316 阅读 · 0 评论 -
springboot常用配置文件
保存一下springboot application.properties基本配置,方便后续使用 #thymeleaf的编码 spring.thymeleaf.encoding=utf-8 #热部署静态文件 spring.thymeleaf.cache=false #使用html5的标准 spring.thymeleaf.mode=HTML5 #连接数据库 spring.datasourc...原创 2020-04-29 13:32:45 · 353 阅读 · 0 评论 -
springboot集成jsp
一、在pom.xml添加springboot对jsp的依赖 <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> </dependency> <!-- servlet...原创 2020-04-28 18:01:37 · 337 阅读 · 0 评论
分享