1. Add M2_REPO Manually
Define and add M2_REPO classpath variable manually into Eclipse IDE. Follow below steps :
- Eclipse IDE, menu bar
- Select Window > Preferences
- Select Java > Build Path > Classpath Variables
- Click on the new button > defined a new M2_REPO variable and point it to your local Maven repository
- Done.
2. SIMPLY DELETE AND RECREATE UR WORKSPACE
1. Delete your workspace
2. Import your projects with "Existing Maven Project"
NOTE: this will create M2_repo in your classpath. no worries.
No comments:
Post a Comment