![Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium](https://miro.medium.com/max/1400/1*tKFcHCZ3C-ZmK5uHsrojhw.png)
Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium
![java.lang.IllegalStateException: Failed to load property source from location 'classpath:/application.yml'原因就是格式没有对齐导致的- Monica_维维- 博客园 java.lang.IllegalStateException: Failed to load property source from location 'classpath:/application.yml'原因就是格式没有对齐导致的- Monica_维维- 博客园](https://img2018.cnblogs.com/blog/1008325/201911/1008325-20191110204531884-252053663.png)
java.lang.IllegalStateException: Failed to load property source from location 'classpath:/application.yml'原因就是格式没有对齐导致的- Monica_维维- 博客园
![noclassdeffounderror - Spring Boot No Class found error though starter dependency has added classes in classpath - Stack Overflow noclassdeffounderror - Spring Boot No Class found error though starter dependency has added classes in classpath - Stack Overflow](https://i.stack.imgur.com/ZNufn.png)
noclassdeffounderror - Spring Boot No Class found error though starter dependency has added classes in classpath - Stack Overflow
![Javarevisited: Spring Boot Error - Error creating a bean with name 'dataSource' defined in class path resource DataSourceAutoConfiguration Javarevisited: Spring Boot Error - Error creating a bean with name 'dataSource' defined in class path resource DataSourceAutoConfiguration](https://2.bp.blogspot.com/-5Hr6nlv-Vgw/XLLolTFkj6I/AAAAAAAANwA/eBjR40q8DcYuy1p-MSw-k2nKQHP_DRN6wCLcBGAs/s400/Spring%2BBoot%2Bstarter%2Bdependency.png)
Javarevisited: Spring Boot Error - Error creating a bean with name 'dataSource' defined in class path resource DataSourceAutoConfiguration
![Spring Boot Error - Error creating a bean with name 'dataSource' defined in class path resource DataSourceAutoConfiguration - Java Code Geeks - 2023 Spring Boot Error - Error creating a bean with name 'dataSource' defined in class path resource DataSourceAutoConfiguration - Java Code Geeks - 2023](https://www.javacodegeeks.com/wp-content/uploads/2019/04/Spring-Boot-Deployment-course-pluarlsight.png)