I seem to get a bunch of warnings like this when I make my Spring project. The project uses Compile Time Weaving and various Spring annotations like Transactional, Autowired, an
What are they (What's the effect)?
It (ajc
) is saying that it has found some class that it thinks ought to be or to have been "woven", but that can't be done / hasn't been done.
Should I be concerned about them?
Yes. It would mean that the AspectJ compile time weaving won't happen properly; i.e. the annotations on some classes won't take effect.
What can I do to remove them?
Change your build configs so that the weaver can find all of the code it needs to weave.
I'm guessing that your application involves multiple Maven modules. If so, then this Answer has some links to the relevant Eclipse/AspectJ and Maven documentation: https://stackoverflow.com/a/13120709/139985. It seems that the AspectJ Maven plugin needs to be explicitly told where to look for stuff.