class path resource [org/springframework/boot/autoconfigure/web/serverpropertiesautoconfiguration.class] cannot be opened because it does not exist
时间: 2023-04-27 10:02:34 浏览: 149
无法打开类路径资源[org/springframework/boot/autoconfigure/web/serverpropertiesautoconfiguration.class],因为它不存在。
相关问题
Caused by: java.io.FileNotFoundException: class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class] cannot be opened because it does not exist
这个错误是由于找不到指定的类路径资源而引起的。具体来说,错误信息中提到的类路径资源\[org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class\]无法打开,因为它不存在。这可能是由于您使用的Spring Boot版本与Hystrix版本不兼容所致。根据引用\[2\]中提供的信息,您正在使用的Spring Boot版本是2.3.0.RELEASE。要解决这个问题,您可以尝试更新您的Spring Boot版本,或者检查您的依赖关系,确保您使用的Hystrix版本与您的Spring Boot版本兼容。
#### 引用[.reference_title]
- *1* *3* [Caused by: java.io.FileNotFoundException: class path resource](https://blog.csdn.net/weixin_39732991/article/details/114613779)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class](https://blog.csdn.net/huangxy6688/article/details/108275521)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
caused by: java.io.filenotfoundexception: class path resource [org/springframework/boot/autoconfigure/web/serverpropertiesautoconfiguration.class] cannot be opened because it does not exist
导致错误的原因是:java.io.filenotfoundexception:无法打开类路径资源[org/springframework/boot/autoconfigure/web/serverpropertiesautoconfiguration.class],因为它不存在。
阅读全文