
异常
长江水面写日记
这个作者很懒,什么都没留下…
展开
-
SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Ha
mybatis报错:SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]我写的是一个查询接口,报这个错的原因,自己检查sql发现没有问题那就查查是不是数据库的约束什么的问题吧发现了问题所在,我在添加测试数据的时候,不为空的create...原创 2018-10-29 17:11:26 · 654 阅读 · 0 评论 -
错误代码: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser
删除时,要在delete 与 from 之间加上 表的别名,这样用别名才不会报错DELETE t FROM iot_bustype_sensortype_relation tWHERE id IN (1,2)原创 2018-10-29 16:19:05 · 6042 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: Cannot find class:异常
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'org.mybatis.caches.ehcache.LoggingEhcache'. Cause: java.lang.ClassNotFoundException: Cannot find class: org.mybatis.cac...原创 2018-11-28 19:33:08 · 8735 阅读 · 2 评论 -
Mybatis-plus包引用问题 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
跟常见的情况不一样,项目把几个子工程整合到了一块,有些工程用的是mybatis-plus,有些则没有,在父pom文件里,引了plus的jar包,导致子工程启动时一直报错,就是jar包冲突了,所以就把父pom工程改下就行了,只定义子工程引用plus的版本 <dependencyManagement> <dependencies> ...原创 2019-01-21 09:44:32 · 617 阅读 · 0 评论 -
spring-boot项目 Consider defining a bean of type 'xxxx' in your configuration 异常
如果注解没有问题的话,可能是因为启动类在项目结构中所在的目录不对导致的原创 2019-02-26 15:45:31 · 1073 阅读 · 0 评论 -
Error creating bean with name 'redisConnectionFactory' defined in class path resource 异常
异常信息:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisConfig': Unsatisfied dependency expressed through field 'factory'; nested exception is or...原创 2019-05-06 16:05:23 · 11598 阅读 · 2 评论 -
Failed to introspect annotated methods on class org.springframework.cloud.netflix.hystrix.dash异常
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.polycis.redis.RedisWebStartApplication]; nested exception is java.lang...原创 2019-05-06 16:03:46 · 5640 阅读 · 0 评论