How to eliminate bogus “Referenced bean … not found” warnings in STS?
问题 STS (3.6.1 and others), Spring 4.1.x (latest), Spring Integration 4.1.2 In many Spring projects I work on in Eclipse/STS, we have numerous "Referenced bean not found" warnings. These often refer to internal Spring beans/classes, not legitimate mis-configuration of our own beans. Here's an example from one of our Spring Data JPA configurations: Referenced bean 'jpaMappingContext' not found [config set: c-r-core/primary] The relevant configuration is just: <?xml version="1.0" encoding="UTF-8"?>