![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BugList
记录遇到的bug
老坛吖
这个作者很懒,什么都没留下…
展开
-
Spring中的常见异常处理
java.lang.NullPointerExceptionat com.cskaoyan.service.UserServiceImpl.sayHello(UserServiceImpl.java:16)at com.cskaoyan.Demo1Test.mytest1(Demo1Test.java:29)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccess..原创 2020-09-09 16:08:59 · 419 阅读 · 0 评论 -
Whitelabel Error Page This application has no explicit mapping for /error
Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Mon Aug 31 14:25:34 CST 2020There was an unexpected error (type=Not Found, status=404).原因及解决:报错原因是SpringBoot的目录结构不对,修改目录结构。...原创 2020-08-31 14:30:58 · 1517 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userServiceImpl’: Unsatisfied dependency expressed through field ‘userMapper’; nested exception is org.springframework.beans.factory.BeanCreationException: Err原创 2020-08-31 00:01:40 · 233 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.qyt.mapper.User
报错信息org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.qyt.mapper.UserMapper.deleteUserat org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:235)at org.apache.ibatis.binding.MapperMethod.&l原创 2020-08-25 21:44:51 · 364 阅读 · 0 评论 -
Request processing failed; nested exception is org.springframework.web.multipart.MultipartException
报错信息HTTP Status 500 – Internal Server ErrorType 异常报告消息 Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.IllegalStateException: 由原创 2020-08-23 20:17:26 · 13695 阅读 · 0 评论 -
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition……
报错信息HTTP Status 500 – Internal Server Error Type 异常报告消息 Servlet.init() for servlet [dispatcher] threw exception描述 服务器遇到一个意外的情况,阻止它完成请求。Exceptionjavax.servlet.ServletException: Servlet.init() for servlet[dispatcher] threw exceptionorg.apache.catalin原创 2020-08-23 19:41:41 · 3649 阅读 · 0 评论 -
org.springframework.beans.factory.NoUniqueBeanDefinitionException解决办法
因为两个实现类都集继承了ProductService,但使用getBean()获取实例时,不知道要返回哪个实例。解决办法:传入两个参数id和class,唯一确定一个实例原创 2020-08-16 15:57:38 · 461 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException解决办法
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userFactory' defined in class path resource [application.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException原创 2020-08-16 15:56:31 · 257 阅读 · 0 评论 -
Error:java: Compilation failed: internal java compiler error 解决办法
https://blog.csdn.net/wo541075754/article/details/82119860转载 2020-08-06 21:31:41 · 87 阅读 · 0 评论