- Windows 8.1, Maven 3.2.3
- Spring STS 3.6.3.SR1
- Maven integration for Eclipse m2e 1.5.1.20150109
- Spring IDE Plugin 3.6.3.201411271034-RELEASE etc.
Had a similar problem for several days. He said that some classes were missing from the dependent project (but they were present) that was open, and this was a problem with the Spring AOP plugin (?). When you close a project, the dependency is correctly viewed in the Maven repository. The problem does not occur when executing the maven build from the command line, only in STS.
I have tried different things. One of them that seems to work is to open the applicationcontext.xml file with the Spring Config Editor, go to the Namespaces tab, unselect the context namespace, save (maybe do some cleaning), then select context namespace, save again. To pray or to dance your favorite rain dance will also help :) The line where I saw this error was:
<context:component-scan base-package="aaa.bbb" />
source share