java.lang.IllegalStateException:Failed to load ApplicationContext
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:181)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)<snip>Caused by: org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'org.springframework.context.weaving.AspectJWeavingEnabler#0':Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'loadTimeWeaver':Initialization of bean failed; nested exception is java.lang.IllegalStateException:ClassLoader[sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method.Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent:-javaagent:org.springframework.instrument.jar
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)<snip>Caused by: org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'loadTimeWeaver':Initialization of bean failed; nested exception is java.lang.IllegalStateException:ClassLoader[sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method.Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent:-javaagent:org.springframework.instrument.jar
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)<snip>Caused by: java.lang.IllegalStateException:ClassLoader[sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method.Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent:-javaagent:org.springframework.instrument.jar
at org.springframework.context.weaving.DefaultContextLoadTimeWeaver.setBeanClassLoader(DefaultContextLoadTimeWeaver.java:91)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1437)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)...44 more

(similar error messages repeated many times)[EL Severe]:2011-06-2016:12:57.951--ServerSession(979781372)--LocalExceptionStack:Exception[EclipseLink-0](EclipsePersistenceServices-2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.IntegrityExceptionDescriptorExceptions:---------------------------------------------------------Exception[EclipseLink-60](EclipsePersistenceServices-2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.DescriptorExceptionExceptionDescription:The method [_persistence_set_shellType_vh] or [_persistence_get_shellType_vh] is not defined in the object [ps.entity.JudicialArtifactFamily].InternalException: java.lang.NoSuchMethodException: ps.entity.JudicialArtifactFamily._persistence_get_shellType_vh()Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[shellType]Descriptor:RelationalDescriptor(ps.entity.JudicialArtifactFamily-->[DatabaseTable(JUDICIAL_ARTIFACT_FAMILY)])Exception[EclipseLink-218](EclipsePersistenceServices-2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.DescriptorExceptionExceptionDescription: A NullPointerException would have occurred accessing a non-existent weaved _vh_ method [_persistence_get_shellType_vh].Theclass was not weaved properly -for EE deployments, check the module order in the application.xml deployment descriptor and verify that the module containing the persistence unit is ahead of any other module that uses it.