最开始我是这么写的,调试哪个类就写哪个类名,一直执行也不报错一切正常
后来,把类名改为了当前类名后,就一直报错
Error starting ApplicationContext. To display the conditions report re-run your application with ' debug’ enabled.
org . spr ingf ramework . beans. factory . BeanDe f initionStoreException: Failed to read candidate component class: URL [ jar:file:/D:/apache -maven-3.6.1/ repository/ org/ spr ingf ramework/ boot/ spring-boot- autoconfigure/2.3.3. RELEASE/sprin
解决方案!
最开始是将所有的包名写在了java下面,然后多加了个robot包之后成功了!