Maven Package Compilation Error

后端 未结 12 1766
栀梦
栀梦 2020-12-05 07:39

i created a webapp project using maven in eclipse. when i run the command mvn package in command prompt it showing folowing error.

[ERROR] COMPILATION ERROR         


        
12条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 08:13

    Go to your 'Runtime Configuration' and configure your JRE to an JDK.

    Or as @PawanKumarBaranwal suggested, set your default JDK. But care if you have more than one JRE configured.

提交回复
热议问题