java.lang.IllegalStateException: Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)

Spring JIRA | Ben Alex | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)

      at com.test.domain.SomeClass_Roo_Entity.ajc$interMethod$com_test_domain_SomeClass_Roo_Entity$com_test_domain_SomeClass$entityManager()
    2. com.test.domain
      SomeClass.entityManager
      1. com.test.domain.SomeClass_Roo_Entity.ajc$interMethod$com_test_domain_SomeClass_Roo_Entity$com_test_domain_SomeClass$entityManager(SomeClass_Roo_Entity.aj:79)
      2. com.test.domain.SomeClass.entityManager(SomeClass.java:1)
      2 frames