jhipster / jhipster-registry

JHipster Registry, based on Spring Cloud Netflix Eureka and Spring Cloud Config
Apache License 2.0
698 stars 657 forks source link

can not build 6.3.0 #475

Closed vividcore closed 4 years ago

vividcore commented 4 years ago
Overview of the issue

after download 6.3.0 and try the step seperately both encounter error,but can wrok with 6.1.2

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jhipster-registry: Fatal error compiling: invalid flag: --release -> [Help 1]

1)mvn clean package -Pprod,war 2)first start up frontside with:npm start,then start up the backend with:mvn

the build evn as below, jdk8 _202 maven 3.6.2 npm:6.13.7 node:13.10.1

gmarziou commented 4 years ago

JDK related, see #474

vividcore commented 4 years ago

for those who still wants to support jdk8 l made below changes, 1)change the 11</java.version> to 8</java.version> 2)remove ${java.version}

above chanegs can support my project.