maven Execution install node and npm of goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm failed: A required class was missing while executing com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm: org/apache/http/protocol/HttpContext
See original GitHub issueWhat is the current behavior?
Execution install node and npm of goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm failed: A required class was missing while executing com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm: org/apache/http/protocol/HttpContext
If the current behavior is a bug, please provide the steps to reproduce.
On a Mac OS X 10.3.6 high sierra system with mac ports mvn
mvn --version Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00) Maven home: /opt/local/share/java/maven3 Java version: 1.8.0_152, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
follow the procedure at http://wiki.bitplan.com/index.php/JHipster
Install jhipster generator docker image
run jhipster to scafold project
run ‘mvn install’ outside the container in the jhipster directory What is the expected behavior? Should work “out of the box” of give a decent error message.
Please mention your frontend-maven-plugin and operating system version. see above
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top GitHub Comments
I had similar issues with 1.7.5, which occurred only on some systems. Sometimes removing the local repository helped, and sometimes not. As work-around, I added the missing dependencies into the embedding project’s pom.xml, like this:
So far it works reliably everywhere.
@WolfgangFahl I change the version of frontend-maven-plugin from 1.6 to 1.7.5, and it works. I’m not sure if it’s the bug of the old version.