The following part of this is the online solution, but I did not get resolved with this method "Org.apache.jasper.JasperException:PWC6345:There is a error in invoking Javac. A full JDK (not just JRE) is required
But I tried Jetty 8 today, the same problem, the problem description please see here.
Groping for a half day finally found the reason.
My JDK is installed on the D drive, Java_home also points to the installation directory, and the path to the system is set D:\JDK\bin
However, when installing the JDK, the installer will copy the Java executable file to the system directory of the C drive, which includes Java.exe, while using Java-jar Start.jar to start the Jetty, the Java.exe in the system directory is preferred, so Jetty J The SP parser will not be able to obtain the JDK's installation directory correctly, causing this problem to occur.
Solution, Exit Jetty, search Java.exe in the system directory, delete it and restart Jetty. 】
-----------------------------------I'm a gorgeous split-line-----------------------------------------------------
I continue to study, finally Kung Fu, finally found a low-level error, is the following:
Look at you. This is not the following format of the import:
Click Finish to correct and create a new MAVEN Web project successfully.
solutions that prompt PWC6345 errors when building Web projects with Maven