在配置pom.xml文件时,出现Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler问题,当时查了很久,添加<pluginManagment>标签也没有解决。
就参考了下window->preferences->lifecycle Mappings 然后点击open workspace lifecycle mappings metadata
并根据上述代码内容进行以下编译:
发现还是没法解决问题,就更改了配置文件中的版本号,以及计算机中安装的jdk版本,具体参考以下代码:
就解决了,可以试着参考下