Entity Extension Issue
Posted: Tue Jan 06, 2015 5:40 am
This is the error I am getting when I am trying to implement the sample Entity extension functionality.
java.lang.IllegalStateException: The classes|[org.broadleafcommerce.core.order.domain.OrderImpl, com.mycompany.order.domain.MyOrderImpl]|are managed classes within the MergePersistenceUnitManager|but were not detected as being transformed by the EntityMarkerClassTransformer. These|classes are likely loaded earlier in the application startup lifecyle by the servlet|container. Verify that an empty <absolute-ordering /> element is contained in your|web.xml to disable scanning for ServletContainerInitializer classes by your servlet|container which can trigger early class loading. If the problem persists, ensure that|there are no bean references to your entity class anywhere else in your Spring applicationContext|and consult the documentation for your servlet container to determine if classes are loaded|prior to the Spring context initialization.
Can someone help me with what I am doing wrong here. I followed the instructions exactly as per the site recommendations.
java.lang.IllegalStateException: The classes|[org.broadleafcommerce.core.order.domain.OrderImpl, com.mycompany.order.domain.MyOrderImpl]|are managed classes within the MergePersistenceUnitManager|but were not detected as being transformed by the EntityMarkerClassTransformer. These|classes are likely loaded earlier in the application startup lifecyle by the servlet|container. Verify that an empty <absolute-ordering /> element is contained in your|web.xml to disable scanning for ServletContainerInitializer classes by your servlet|container which can trigger early class loading. If the problem persists, ensure that|there are no bean references to your entity class anywhere else in your Spring applicationContext|and consult the documentation for your servlet container to determine if classes are loaded|prior to the Spring context initialization.
Can someone help me with what I am doing wrong here. I followed the instructions exactly as per the site recommendations.