I am new to Spring and use Spring 3.2.2. I have some beans which I injected via
which works fine. Now I wanted to inject some bean via <
Here is what I could gather so far:
java.lang.LinkageError
comes in a situation when there are two classloaders involved in loading a class. my.project.formula.FormulaKey
is loaded by one classloader and then the class loader involved in annotation processing loads it one more time.my.project.formula.FormulaKey
is deferred as its no more referred while loading the context from XML .