nested exception is java.io.FileNotFoundException

完整的错误信息: [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.heima.article.ArticleApplication]; nested exception is java.io.FileNotFoundException: class path resource [com/heima/apis/article/IArticleClient.class] cannot be opened because it does not exist.

找不到配置类错误,这个我是在初学微服务的时候遇到的,添加一个微服务运行时无法启动。

解决问题方法:

在maven中clean一下,将target清理掉重新运行

nested exception is java.io.FileNotFoundException_第1张图片

你可能感兴趣的:(java,开发语言)