
问题处理
记录工作和学习中所遇到的问题以及处理解决的方式
小小淤
这个作者很懒,什么都没留下…
展开
-
【记录所遇到的异常】java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to us
【记录所遇到的异常】java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use异常代码解决思路异常代码java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use解决思路阅读springTest的相关知识,发现springTest约定与springboot原创 2020-11-30 10:16:04 · 225 阅读 · 0 评论 -
【记录所遇到的异常】Invalid character found in method name. HTTP method names must be tokens
【记录所遇到的异常】Invalid character found in method name. HTTP method names must be tokens引入异常代码解决思路引入前端:ant design pro后端: springboot 2.x在测试前后端接口对接的时候发现有出现这种问题异常代码Invalid character found in method name. HTTP method names must be tokens解决思路1.检查下接口是否是写成了HTT原创 2020-07-16 15:46:55 · 1510 阅读 · 2 评论 -
【记录所遇到的异常】Junit4 利用Spring进行单元测试所遇到的问题ExceptionInInitializerError
【记录所遇到的异常】JUnit4 利用Spring进行单元测试所遇到的问题ExceptionInInitializerError引入测试代码异常代码解决思路引入在做项目当中我们经常会进行单元测试,从最开始傻傻的使用Application测试到后来做基于jsp+servlet的web项目用junit4测试,直到现在在做SSM项目的也常常使用JUnit4,下面就记录我在Spring中使用Junit...原创 2019-06-13 09:51:47 · 1771 阅读 · 2 评论 -
【记录所遇到的异常】mybatis - Manual close is not allowed over a Spring managed SqlSession
【记录所遇到的异常】`mybatis` - Manual close is not allowed over a Spring managed SqlSession异常代码解决方法异常代码Message Manual close is not allowed over a Spring managed SqlSessionSpring托管的SqlSession上不允许手动关闭。解决方法...原创 2019-05-29 15:41:59 · 376 阅读 · 0 评论 -
【记录所遇到的异常】mybatis - Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
【记录所遇到的异常】mybatis - Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required引言异常代码解决方法引言Property ‘xxx’ or ‘xxx’ are required这种类型的异常通常是找不到bean所出现的异常情况异常代码在整合Spring和MyBatis的时候所犯下的低级错误or...原创 2019-05-29 16:53:09 · 1893 阅读 · 0 评论 -
【记录所遇到的异常】mybatis- org.springframework.jdbc.BadSqlGrammarException:
目录产生异常的情况1.数据库连接是否出现问题2.sql语句是否出现错误产生异常的情况1.数据库连接是否出现问题rg.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'testd...原创 2019-06-11 07:59:23 · 4126 阅读 · 0 评论 -
【记录所遇到的问题】跨域异常 - 使用CORS-FILTER.jar解决跨域问题
【记录所遇到的问题】跨域异常 - 使用CORS-FILTER.jar解决跨域问题目录【记录所遇到的问题】跨域异常 - 使用CORS-FILTER.jar解决跨域问题Maven方式导入jarweb.xml配置关于富文本跨域不成功的问题Maven方式导入jar <dependency> <groupId>com.thetransac...原创 2019-06-06 13:00:36 · 4044 阅读 · 0 评论 -
Linux 踩坑系列-错误Error: ENOSPC: System limit for number of file watchers
Linux 踩坑系列一 :linux配置篇原创 2019-09-28 09:22:33 · 16145 阅读 · 2 评论