Hi all,

I have developed a common library that contains domain objects that are reused in multiple applications.

To inject the PersistenceContext I used the @Configurable and @PersistenceContext annotations.
In my Spring context I have set <context:spring-configured/> and an org.springframework.orm.jpa.LocalContainerEntityMa nagerFactoryBean.

When I try to work with the entity, I get the horrifying java.lang.IllegalStateException: Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)

In my lib folder, I do have aspectjrt-1.6.5.jar and aspectjrt-1.6.5.jar.

I need to note that I did a pushin -refactoring.

What am I missing here?
Thanks.

regards,
Bram.