![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常的解决
解决日常的开发出现异常
Pickle_泡菜君
这个作者很懒,什么都没留下…
展开
-
springboot运行时出现:Unable to start ServletWebServerApplicationContext due to missing Servle
idea的console显示如下:org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWeb原创 2020-07-06 21:05:13 · 1112 阅读 · 0 评论 -
配置DriverManagerDataSource时,nested exception is java.sql.SQLException: Access denied for user
怪事Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Access denied for user ‘Lin’@‘localhost’ (using password: YES)常规情况一般为权限问题(下方为别人的解决方法)https://blog.csdn.net/chuyouyinghe/article/details/79225972奇葩情况我使用了spring-jdbc中的D原创 2020-05-31 14:27:55 · 719 阅读 · 1 评论 -
Xx.class.getClassLoader().getResource()出现空指针异常
文章目录NullPointerException的产生我遇到getResource的空指针异常NullPointerException的产生举例:(java语言)// 对main方法简写main{ string str = null; System.out.println(str.length);}运行结果:Exception in thread "main" java.la...原创 2020-03-22 18:20:42 · 6889 阅读 · 7 评论