Description Resource Path Location Type
One or more constraints have not been satisfied. wbh-adapter-h5 line 1 Maven Java EE Configuration Problem
报上面的错误;
首先出了问题,报红的话,找Markers窗口,看错误,尽量解决
最后头改成这个好了:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
1、检查jdk1.7
2、java compiler
3、project fect
上面三者保持一致
右键项目 > Maven > Update Project…
我直接这么做解决了。