springboot
为梦而逐
这个作者很懒,什么都没留下…
展开
-
spring boot之org.thymeleaf.exceptions.TemplateInputException: Error resolving template [hello]
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [hello], template might not exist or might not be accessible by any of the configured Template Resolvers....我出现这种情况的原因可...原创 2019-03-18 14:29:51 · 2299 阅读 · 1 评论 -
springboot+H2->...h2...JdbcSQLException: ...: "autoServerMode && inMemory"
org.h2.jdbc.JdbcSQLException: Feature not supported: "autoServerMode && inMemory" [50100-192] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.192.jar:1.4.1...原创 2019-09-08 16:17:02 · 1445 阅读 · 0 评论 -
H2 数据库使用csv数据文件导入数据CREATE TABLE OPS AS SELECT FROM CSVREAD('data.csv') [90028-192]
Caused by: org.h2.jdbc.JdbcSQLException: IO Exception: "IOException reading data.csv"; SQL statement:CREATE TABLE OPS AS SELECT * FROM CSVREAD('data.csv') [90028-192] at org.h2.message.DbExceptio...原创 2019-09-08 16:13:02 · 740 阅读 · 0 评论 -
springboot-单元测试Controller:java.lang.IllegalArgumentException: WebApplicationContext is required
原因:缺少注解原创 2019-07-01 11:53:00 · 4674 阅读 · 0 评论 -
ERROR org.springframework.boot.SpringApplication - Application run failed(springboot admin监控)
springboot监控Admin+Client搭建:https://www.jianshu.com/p/e9ce05b44150我的原因是:依赖包和springboot的版本不匹配,修改依赖包的版本即可。原创 2019-03-28 11:59:02 · 6274 阅读 · 1 评论 -
springboot+druid monitor sql监控不显示sql,修改后:Failed to bind properties under 'spring.datasource.druid'
问题:springboot+druid monitor sql监控不显示sql。参考:https://blog.csdn.net/wkztselina/article/details/79321735原因:是引入的druid包有问题。原来的包:<dependency> <groupId>com.alibaba</groupId> ...原创 2019-03-28 10:40:40 · 815 阅读 · 0 评论 -
springboot + mybatis Invalid bound statement (not found)
Invalidboundstatement(notfound):com.drum.demo.mapper.StudentDao.getStudentList1、检查mapper.xml文件中的<mapper>标签中的namespace属性是否存在,是否是对应的java源文件的全路径,例如com.drum.demo.mapper.StudentDao。2、检查...原创 2019-03-28 09:52:48 · 1338 阅读 · 0 评论 -
springboot+thymeleaf入门案例-模拟豆瓣网
文章目录一、工具和JDKIDEA ------>官网下载:https://www.jetbrains.com/idea/download/#section=windowsJDK:1.8----->jdk的安装与配置:https://blog.csdn.net/qq_40790831/article/details/85346212二、使用IDEA创建springboot项目...原创 2019-03-18 17:22:10 · 375 阅读 · 0 评论 -
IDEA搭建Springboot项目
一、下载安装IDEA和JDK二、打开IDEA,点击新建项目三、选中spring initializr,选择JDK版本,然后点击next四、点击next五、选中web,勾选web,然后点击next.六、创建HelloWordController.java七、启动springboot,然后在浏览器中输入:http://localhost:8080/he...原创 2019-03-18 16:34:00 · 362 阅读 · 0 评论 -
SpringBoot整合Gson:long类型无法转换:java.lang.NumberFormatException
原因:暂时木有找到,更换了json的依赖jar(fastjson)。原创 2019-09-08 16:25:12 · 746 阅读 · 0 评论