Successful build in Maven still showing errors in Eclipse

前端 未结 18 1929
猫巷女王i
猫巷女王i 2020-12-24 07:04

I\'m having something quite peculiar here, my build is successful in maven when I type \"mvn clean install\" however once imported into Eclipse it\'s showing errors.

18条回答
  •  余生分开走
    2020-12-24 07:21

    If you don't see any error in Eclipse project but it keeps showing the red icon on your project name. Try mvn eclipse:eclipse.

    Then select all projects in Eclipse, Right click > Maven > Update projects

    Hope it helps.

提交回复
热议问题