Importing your JHipster application in Eclipse will require a few manual steps. You will need to do some configuration:
At the end of the import phase, you can expect to see the below dialog. “Maven plugin connectors” are an extension for m2eclipse. That one should be installed and Eclipse will need to restart after completion.
If you have installed it already, you will be good to go and do not need to do anything.
Note: if you already have an existing JHipster project and have not installed the corresponding connector, you should see the below error:
Plugin execution not covered by lifecycle configuration: org.bsc.maven:maven-processor-plugin:2.2.4:process (execution: process, phase: generate-sources)
Just select Quick Fix/Ctrl+1 (Cmd+1 on Mac) on the error marker and select “Discover new m2e connectors”
At this stage you should not have any Java error but should still see some JavaScript errors. This is because you have some JavaScript files that Eclipse cannot parse properly. Those files are used at execution time only and do not need to be visible in your workspace. They should be excluded.
bower_components
and scripts
and click “Ok”.tmp/
,node_modules/
andsrc/main/webapp/dist
(the dist
folder will be created when you generate a production build)