在打war包时候遇到错误:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (default-compile) on project wopay-jd-common: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
检查了一下Installed JREs的设置,使用的环境变量为jre
将路径修改为jdk目录即可