Results 1 to 2 of 2

Thread: PersistenceContext not injected with @Configurable

  1. #1
    Join Date
    Jun 2010
    Posts
    2

    Default PersistenceContext not injected with @Configurable

    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.

  2. #2

    Default

    Did you manage to get this working, I have the same issue

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •