1. 程式人生 > >Maven缺少JDK 編譯外掛報錯 --- Description Resource Path Location Type

Maven缺少JDK 編譯外掛報錯 --- Description Resource Path Location Type


1、DescriptionResourcePathLocationType Java compiler level does not match the version of the installed Java project facet.SSMDemo Maven WebUnknownFaceted Project Problem (Java Version Mismatch) 2、DescriptionResourcePathLocationType JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.SSMDemo Maven Webline 1Maven Java EE Configuration Problem
3、DescriptionResourcePathLocationType One or more constraints have not been satisfied.SSMDemo Maven Webline 1Maven Java EE Configuration Problem 解決辦法:在pom.xml配置檔案中加入如下元素: