- 博客(9)
- 收藏
- 关注

原创 Error processing condition on org.springframework.boot.autoconfigure.context.Property报错解决
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer报错解决 <depe...
2020-04-08 09:42:26
29164
9

原创 找不到符号 [ERROR] 符号: 类 EnableJpaRepositories
今天在编译项目的过程中,遇到了如下问题。排查好久也没解决。最后无意中解决的,把解决方法记录一下,不知道是否适用于其他朋友遇到的类似为题。解决方法:我将pom文件这三个版本号删掉,居然编译成功了。目前还不知道其原理。...
2019-04-21 17:05:26
3880
2

原创 Parameter with that position [1] did not exist已解决
报错信息:[ERROR] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:182) : Servlet.service() for servlet [dispatcherServlet] in context with path [/springbootdemo] threw exception [Request process...
2019-04-18 14:45:39
4768
3
原创 easyui datagrid 自定义列checkbox
今天写代码时,遇到一个需求,使用easyUI时,easyui datagrid在页面展示的数据,只在异常数据前面加上复选框,实现全选只选中异常数据。网上找了很多资料,顺便记录一下。效果图:不多说,上代码:KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲tableId").datag…(window).height() - 230,loadMsg:‘正在加载,请稍后…’,columns:[[// {field:‘batch
2020-05-15 11:06:30
986
原创 Springboot @Autowired注入为null,空指针异常
今天使用Springboot时,想在普通类 util类里注入service,试过很多方法,都失败了,最后的解决方法记录一下,普通类里注入java bean;首先创建一个工具类:SpringContextUtilpackage com.dhcc.demo.util;import org.springframework.beans.BeansException;import org.s...
2019-11-06 11:15:33
2445
1
原创 解决SpringBoot中的dao实例无法自动注入(@Autowire)问题
报错内容:org.springframework.beans.factory.UnsatisfiedDependencyException:Errorcreatingbeanwithname'taskService':Unsatisfieddependencyexpressedthroughfield'taskDao';nestedexceptionisorg.sp...
2019-10-16 09:42:49
1847
2
原创 解决 spring-test 出现 Failed to load ApplicationContext 的异常(已解决)
今天在写测试类的时候,一直遇到这个报错,百度了好久,也没解决。发现另一种解决方法,记录一下,希望对其他人有帮助;只需在报错的那个bean,加上无参构造方法,这个问题就完美解决了,希望对以后遇到这个问题的同学有所帮助。...
2019-08-08 10:50:50
8423
转载 cron表达式详解
Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式:Seconds Minutes Hours DayofMonth Month DayofWeek Year或Seconds Minutes Hours DayofMonth Month DayofWeek每一个域可出现的字符如下:Seconds:可出现", - ...
2019-03-19 10:53:48
146
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人