nested exception is java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
Solution
weblogic /bea/setDomainEnv.sh 未指定 JPA jar path
if [ "${SERVER_NAME}" = "managed01d-1" ] ; then PRE_CLASSPATH="${DOMAIN_HOME}/lib-ext/hibernate-jpa-2.0-api-1.0.0.Final.jar" export PRE_CLASSPATH fi
沒有留言:
張貼留言