
SpringBoot
凌云之音
学海无涯
展开
-
Springboot启动报错:Error creating bean with name viewResolver defined in class path resource....
Springboot启动时报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'viewResolver' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class原创 2020-06-08 15:29:32 · 8220 阅读 · 2 评论 -
Error reading file ..\repository\com\alibaba\..\..\fastjson-1.2.47.jar: error in opening zip file
加载新项目时出现以下错误:Error:(1, 1) java: 无法访问com.silentwu.data.dataobjectError reading file C:\Users\silentwu\.m2\repository\com\alibaba\fastjson\1.2.47\fastjson-1.2.47.jar: error in opening zip file查找相关资料得知原来是fastjson-1.2.48以下版本存在重大漏洞问题,所以我们可以通过提高fastjson版本来原创 2020-06-06 01:01:02 · 678 阅读 · 0 评论 -
Spring boot中出现图片URL后面的jsessionid情况,导致图片加载失败,需重新刷新加载
jsessionid是用来指明session的id,存在于cookie中,当客户端禁用cookie时,第一次服务器将拿不到客户端的cookie,导致url重写,从而将jesessionid写入至url中,自然而然图片的地址也匹配不对。解决方案:springBoot2.0之前版本在application.properties中配置文件#使用会话cookie追踪会话IDser...原创 2019-12-10 16:05:26 · 823 阅读 · 0 评论 -
Cannot determine embedded database driver class for database type NONE
SpringBoot程序启动时出现错误:***************************APPLICATION FAILED TO START***************************Description:Cannot determine embedded database driver class for database type NONEActio...原创 2019-10-22 17:28:50 · 288 阅读 · 0 评论 -
Error:(3, 32) java: 程序包org.springframework.boot不存在
使用IDEA Spring Initializr新建一个Springboot程序,建完发现出现下面的错误Error:(3, 32) java: 程序包org.springframework.boot不存在Error:(10, 9) java: 找不到符号 符号: 变量 SpringApplication 位置: 类 com.springboot.one.springbooton...原创 2019-08-15 10:39:34 · 44598 阅读 · 36 评论 -
Thymeleaf模板引擎下 使用局部刷新后 jQuery事件绑定失效的问题
前端页面:<table class="table" th:fragment="user_content"> <thead class=" text-primary"> <th>用户名</th> <th>密码</th> <th>手机号码<...原创 2019-09-26 15:23:00 · 3275 阅读 · 8 评论