Successful build in Maven still showing errors in Eclipse

前端 未结 18 1897
猫巷女王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:23

    It may help: After upgrading eclipse or changing it or something like, old eclipse specific files (.classpath, .project, and .settings) may not be compatible to the new version of eclipse. So you may have to re generate this eclipse specific files using Maven. So try this in your eclipse project root

    mvn eclipse:eclipse
    

提交回复
热议问题