爱玺玺

爱玺玺的生活日记本。wx:lb87626

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK 解决方法

20200409103523547.png


有时候还要在配置文件中加入配置:


            <plugin>

            <!-- 指定maven编译的jdk版本 -->

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-compiler-plugin</artifactId>

                <version>3.8.1</version>

                <configuration>

                    <verbose>true</verbose>

                    <fork>true</fork>

                    <!--你的jdk地址-->

                    <executable>D:/Java/jdk1.8.0_201/bin/javac</executable>

                </configuration>

            </plugin>


发表评论:

Powered By Z-BlogPHP 1.4 Deeplue Build 150101

Copyright Your WebSite.Some Rights Reserved.

蜀ICP备11021721号-5