1、properties或yml没有提示
解决:重启eclipse
2、bean的方法名不能和已有类重名
如The bean ‘jobLauncher’, defined in class path resource [com/pansoft/config/BatchConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/batch/core/configuration/annotation/SimpleBatchConfiguration.class] and overriding is disabled.
版权声明:本文为hu_mingwei原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。