What is the correct Eclipse setup for JHipster?

瘦欲@ 提交于 2019-12-04 12:31:55

I did the following steps and it works

  • Install the version 3.4.0 of sts
  • Generate a new project using yo jhipster command
  • Import the generated project in sts
  • Run the Application.java as application

Everything works.

This was caused by a corrupt Maven repository. I cleared out the maven cache and it worked fine. Thanks to the support guys of IntelliJ.

Your answer above is correct... the primary problem is more than likely that you're doing one of two things:

  1. Copy/pasting code into STS rather than doing an import.
  2. Trying to run the application by executing "Run on Server", rather than "Run as Spring Boot".

In the "Run As" context menu you should run "Maven clean" then "Maven install". Then you can start the application by "Run As/Java Application" on the Application class.

you can install sts in eclipse and import the project as existing maven project and then exclude the node_modes and bower components from project properties.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!