本文介绍了一种常见的SpringBoot应用程序错误:Exception in thread 'main' java.lang.IllegalStateException: Failed to read Class-Path,该错误通常由于项目中存在重复或冲突的子包导致。文章提供了简单的解决方案——移除造成冲突的子包。
记Spring Boot 报错Exception in thread “main” java.lang.IllegalStateException: Failed to read Class-Path