gvNIX:安装数据表时出错
gvNIX: Error installing datatables
我在安装 jQuery 后使用 gvNIX,一切正常。但是,当我安装数据表 web mvc datatables setup
并编译应用程序时,网络崩溃并且服务器显示此错误:
2015-05-25 12:47:34,583 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [/home/vicente/Documentos/sts-bundle/pivotal-tc-server-developer-3.1.0.RELEASE/base-instance/wtpwebapps/FitTrainning_WebService/WEB-INF/classes/META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
您要在 JBoss 上部署吗?由于 JPA API 版本存在问题(JBoss 包括 2.0 但 gvNIX 需要 2.1)。
查看 this issue on JBoss Jira 解决方法。
祝你好运!
我在安装 jQuery 后使用 gvNIX,一切正常。但是,当我安装数据表 web mvc datatables setup
并编译应用程序时,网络崩溃并且服务器显示此错误:
2015-05-25 12:47:34,583 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [/home/vicente/Documentos/sts-bundle/pivotal-tc-server-developer-3.1.0.RELEASE/base-instance/wtpwebapps/FitTrainning_WebService/WEB-INF/classes/META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
您要在 JBoss 上部署吗?由于 JPA API 版本存在问题(JBoss 包括 2.0 但 gvNIX 需要 2.1)。
查看 this issue on JBoss Jira 解决方法。
祝你好运!