Sunday, August 24, 2014

How to Fix Unbound Classpath Variable Error in Eclipse?

  1. Open the Eclipse Preferences [Window - Preferences]
  1. Go to [Java - Build Path - Classpath Variables]
  1. Click New and set its name as M2_REPO
  1. Click Folder and select your Maven repository folder. For example, my repository folder is C:/Users/Firman El Hakim/.m2/repository

Add M2_REPO Variable

  1. Done. Rebuild the Project.

No comments:

Post a Comment