随笔分类 -  Debug日志

[SpringBoot]制作个人博客
摘要:2020年03月18日16:09:48: 线下的个人blog项目做完,但是不知为何放在服务器上,显示404。 描述 源服务器未能找到目标资源的表示或者是不愿公开一个已经存在的资源表示。 已经尝试用了此博主建议的几种方法 https://app.yinxiang.com/fx/013d5e05-851 阅读全文

posted @ 2020-03-18 16:45 羽昇 阅读(333) 评论(0) 推荐(0)

[SpringBoot]报错 Inferred type 'S' for type parameter 'S' is not within its bound;
摘要:问题原因: SpringBoot 版本问题,SpringBoot 2.0后新特性。 解决方法: 1、修改版本,降为SpringBoot 1.5.x; 2、修改代码: 1 修改前: return userRepository.findOne(id); 2 修改后: return userReposit 阅读全文

posted @ 2020-03-16 14:40 羽昇 阅读(414) 评论(0) 推荐(0)

[SpringBoot]报错org.thymeleaf.exceptions.TemplateInputException: Error resolving template解决方案
摘要:https://blog.csdn.net/Lin_xiaofeng/article/details/79122053 在pom.xml 添加以下依赖: 1 <dependency> 2 <groupId>net.sourceforge.nekohtml</groupId> 3 <artifactI 阅读全文

posted @ 2020-03-15 18:59 羽昇 阅读(4186) 评论(0) 推荐(0)

[SpringBoot] SpringBoot与thymeleaf版本冲突问题
摘要:pom.xml里标注的“-spring5” 千万不能丢,否则会报错“springboot cannot resolve MVC view”: 1 <properties> 2 <java.version>1.8</java.version> 3 <thymeleaf-spring5.version> 阅读全文

posted @ 2020-03-15 15:04 羽昇 阅读(2433) 评论(0) 推荐(0)

[mysql8 报错] 关闭ONLY_FULL_GROUP_BY
摘要:bug原因: 对于GROUP BY聚合操作,如果在SELECT中的列,没有在GROUP BY中出现,那么这个SQL是不合法的,因为列不在GROUP BY从句中。简而言之,就是SELECT后面接的列必须被GROUP BY后面接的列所包含。 如:select a,b from table group b 阅读全文

posted @ 2020-02-28 11:48 羽昇 阅读(4820) 评论(0) 推荐(0)

【@ConfigurationProperties注解】Not Found The requested URL /spring-boot/docs/2.2.2.RELEASE/reference/html/configuration-metadata.html was not found on this server.
摘要:<!-- 配置文件自动映射 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true 阅读全文

posted @ 2019-12-12 16:02 羽昇 阅读(2148) 评论(0) 推荐(0)

警告:Establishing SSL connection without server's identity verification is not recommended
摘要:WARN: Establishing SSL connection without server's identity verification is not recommended. <property name="url" value="jdbc:mysql://localhost:3306/s 阅读全文

posted @ 2019-12-10 21:13 羽昇 阅读(296) 评论(0) 推荐(0)

开启新项目时启动tomcat的一个小问题
摘要:Application context 这里为啥只有是空的,才能正常启动tomcat? 阅读全文

posted @ 2019-12-09 15:42 羽昇 阅读(168) 评论(0) 推荐(0)

idea使用Maven创建的JavaWeb项目新建文件时没有打包到target目录报错
摘要:背景:在使用tomcat发布这个项目时,浏览网页,js没有效果。 问题:发现打包之后没有同步到target里 解决办法:点击最右侧的Maven栏->所建项目->Lifecycle->clean->Run Maven Build 最后重新点击��Build 阅读全文

posted @ 2019-12-09 10:14 羽昇 阅读(4823) 评论(1) 推荐(1)

Spring 连接MySQL报错java.sql.SQLException: Unknown system variable 'tx_isolation'
摘要:先是报错255,这个时候需要把 jdbc:mysql://localhost:3306/projUse 写成 jdbc:mysql://localhost:3306/projUse?useUnicode=true&amp;characterEncoding=utf8后来报错 java.sql.SQL 阅读全文

posted @ 2019-12-01 21:09 羽昇 阅读(374) 评论(0) 推荐(0)

导航