简体   繁体   中英

Jhipster Webpack failure for Jhipster Maven Microservice Gateway application in Dev environment

I have generated a Sample Microservice application and a Microservice gateway application using Jhipster. Both applications are built using maven and are using Jhipster registry for identification and routing. I am successfully able to build the Micro service application and able to reach it in the assigned localhost port.

I have build issues while building ./mvnw for gateway application. But it builds properly for gradle application and the API's are up. I have issues only for maven in org.springframework.boot:spring-boot-maven-plugin:2.0.5.

Its running on Windows 10 machine, latest version of Jhipster.

Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) on project api-contact-gateway: Could not exec java: Cannot run program "C:\\Program Files\\Java\\jdk1.8.0_181\\jre\\bin\\java.exe": CreateProcess error=206, The filename or extension is too long

I have debugged further and could see that the Classpath passed as a part of JVM arguments is too long. But my system variables are properly set.

I coudn't find any specific solution. I just lowered my Jhipster version to 4.14

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM