"A more recent version of this document is supported by this" JPA persistence.xml问题
来源:互联网 发布:惠普打印机网络共享 编辑:程序博客网 时间:2024/06/05 20:42
问题解决处:感谢stackoverflow
http://stackoverflow.com/questions/3701901/eclipse-does-not-recognize-content-of-persistence-xml
Eclipse中操作:
- Windows –> Preferences –> Validation
- Scroll down to “JPA Validator” and click on the Eclipses under Settings.
- Click on the “Add Include Group…” button.
- Click on the new Include Group that appeared to highlight it.
- Click on the “Add Rule…” button.
- A dialog menu pops up. Click the “Folder or file name” radio button and click on “Next”.
- Click on “Browse Folder…” and navigate to your src directory (in my case, it was “src/main/resources”) within your project (my project was a .war in a multi module app) in your workspace.
- Click on “Finish”.
- Click on “OK”. This will prompt a full build.
- The error will go away.
Step1-2:注意JPA Validator选中、右键、setting
Step3-5:注意选中你添加的Group再Add Rule
Step6-7:
1 0
- "A more recent version of this document is supported by this" JPA persistence.xml问题
- “(null)” is of a model that is not supported by this version of Xcode. Ple
- This version of the rendering library is more recent than your version of IntelliJ IDEA.
- This version of the rendering library is more recent than your version of IntelliJ IDEA
- This version of the rendering library is more recent than your version of Android Studio.
- This version of the rendering library is more recent than your version of ADT pl
- This version of the rendering library is more recent than your version of ADT ..解决办法
- layout下activity_main.xml无法显示界面出现This version of the rendering library is more recent than your versi
- “(null)” is of a model that is not supported by this version of Xcode. Please use a different device
- “(null)” is of a model that is not supported by this version of Xcode. Please use a different device
- “gjw” is of a model that is not supported by this version of Xcode. Please use a different device.
- Phone may be running a version of iOS that is not supported by this version of Xcode.
- This template requires a more recent version of the Android Eclipse plugin. Please update from versi
- This template requires a more recent version of the Android Eclipse plugin. Please update from versi
- 【Android】Eclipse报This version of the rendering library is more recent than your version of ADT ...
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- Linux中let用法介绍
- 广联达C++开发 笔试题
- swift——运算符——特有
- 郑轻ACM 1734: 堆(DFS)
- mysql 错误:Field '字段' doesn't have a default value
- "A more recent version of this document is supported by this" JPA persistence.xml问题
- FastDFS分布式文件系统简介及单机版安装步骤详解
- vector基本用法
- SAP HANA数据类型
- 已知二叉树的中序和前序序列(或后序)求解树
- The 2016 ACM-ICPC Asia Dalian Regional Contest(汇总)
- 【设计模式】观察者模式
- TabError: Inconsistent use of tabs and spaces in indentation
- C#150课的主要内容