SpringBoot
文章平均质量分 74
Life_Will_Last
评论查看不及时,如有需要,联系QQ631445881
展开
-
新建Springboot项目,Java文件变橘色,无法运行,External Libraries里没有依赖包
新建的springboot项目,无法运行,Java文件变橘色小时钟,没有依赖包,解决这个问题的一种解决方法原创 2022-07-29 11:24:24 · 3626 阅读 · 3 评论 -
spring boot 运行测试类时:Error creating bean with name 'serverEndpointExporter' 问题
spring boot 运行测试类时:Error creating bean with name ‘serverEndpointExporter’ 问题 错误前期测试类是好使的,突然就不好使了,开始找问题,最近我只是引入了webscoket,使用注解@ServerEndpoint就是这个注解惹得祸,两种解决方式:第一种:将@RunWith(SpringRunner.class) 去掉即...转载 2020-03-29 15:22:40 · 653 阅读 · 0 评论 -
springboot调用资源报错:The following has evaluated to null or missing:
本文章用以记录使用过程中报错The following has evaluated to null or missing:时候的一些可能的情况,主要是排查解决方案,具体错误情况视情况而定。1、当调用对象属于私有类型时2、当调用对象为空时...原创 2020-03-27 20:21:04 · 787 阅读 · 0 评论 -
SpringBoot——无法访问templater下的ftl文件
添加配置文件信息spring: freemarker: request-context-attribute: req suffix: .ftl content-type: text/html cache: false template-loader-path: classpath:/templates charset: UTF-8 ...原创 2020-03-19 11:31:03 · 1787 阅读 · 0 评论 -
springboot+freemarker 静态资源访问
这里做一个demo供大家互相借鉴一下,步骤如下1. 先创建springboot工程项目,本人使用的是IDEA,创建过程这里不做讲解,请自行完成。2. 在pom.xml中导入freemarker。 <dependency> <groupId>org.springframework.boot</groupId> <...转载 2020-03-14 18:51:59 · 1437 阅读 · 1 评论 -
Spring boot问题——spring boot configuration annotation processor not found in classpath
打开之前学习代码然后出现spring boot configuration annotation processor not found in classpath的问题,如图然后在pom.xml文件中添加一项依赖就好了<dependency> <groupId>org.springframework.boot</groupId> <artifac...原创 2019-12-01 19:35:29 · 156 阅读 · 0 评论