
mybatis
Jiunn-Nan_Khan
没困难的困难是最在的困难
展开
-
SpringBoot报错(四)通用Mapper插件的配置即使用报错
今天来配置mybatis的通用mapper,使用了Mapper插件 <!--通用Mapper插件--> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> ...原创 2017-10-09 15:49:04 · 6639 阅读 · 0 评论 -
SpringBoot报错(五) Failed to load ApplicationContext
[org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]原创 2017-10-09 16:27:04 · 24947 阅读 · 0 评论 -
SpringBoot报错(九)配置Mybatis报错
2017-11-09 17:03:50.579 WARN 12020 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframew...原创 2017-11-09 17:05:35 · 2247 阅读 · 0 评论 -
SpringBoot报错(五) Failed to load ApplicationContext (2)
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelega...原创 2017-12-07 16:42:14 · 8135 阅读 · 5 评论 -
Springmvc报错(二)java.sql.SQLException: No suitable driver
今天下午,写了一个测试数据库查询,报了一个错误。15:15:47.366 [C3P0PooledConnectionPoolManager[identityToken->1bqoqis9qnvh4bw1efpaw3|38e79ae3]-HelperThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - An ex...原创 2017-09-06 15:19:09 · 1599 阅读 · 0 评论 -
Springmvc报错(二) Invalid bound statement (not found) and Failed to load ApplicationContext
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.express.service.ExpressInfoService.selectByPrimaryKey at org.apache.ibatis.binding.MapperMethod$SqlCommand.(Ma原创 2018-02-06 10:29:06 · 887 阅读 · 0 评论 -
SpringBoot报错(十一)Failed to load ApplicationContext (三)
这次是一个失误,因为我竟然忘记配置mybatis的config了 修改一个地方,一是你自己配置的mybatisConfig,二就是在application启动文件里边加上 @MapperScan(basePackages = “包名.mapper”)即可java.lang.IllegalStateException: Failed to load ApplicationContext ...原创 2018-03-08 15:45:36 · 3583 阅读 · 2 评论 -
Mybatis报错(二)You have an error in your SQL syntax; check the manual that corresponds to your MySQL se
org.springframework.jdbc.BadSqlGrammarException: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual...原创 2018-03-30 10:20:09 · 3448 阅读 · 0 评论 -
Mybatis报错(一)nested exception is org.apache.ibatis.binding.BindingException: Parameter '****'
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'questionList' not found. Available parameters are [collection, list] at org.m...原创 2018-03-28 14:59:26 · 1042 阅读 · 0 评论