The project cannot be built until the build path errors are resolved.

前端 未结 20 903
半阙折子戏
半阙折子戏 2020-12-07 11:14

While compiling an android project in eclipse 3.4.2, I am getting The project cannot be built until the build path errors are resolved.

I got a

相关标签:
20条回答
  • 2020-12-07 11:37

    I've faced this issue a couple of times and following the below steps has resolved both the times. 1. Navigate to C:\Users\ 2. locate the ".m2" folder and delete it.

    1. Now navigate to the particular project in eclipse and Right-click on the project > Maven > Update Project

    wait until the project is updated and in my case following the above steps resolved both the times.

    0 讨论(0)
  • 2020-12-07 11:40

    This works for me: close the project then re-open it, this will force eclipse to see it as a fresh project and detects a correct build path.

    0 讨论(0)
  • 2020-12-07 11:41

    For my mac osx Eclipse, I followed following steps:

    1. Right CLick on your project, Choose Build Path > Configure Build Path
    2. Select Libraries Tab and delete any arbitrary library or anything else causing errors in Build Path.
    3. Click on Add Library button, Select JRE System Library and click Next.
    4. Choose last Radiobutton option Workspace default JRE and click Finish.
    5. Clean and build your project.
    0 讨论(0)
  • 2020-12-07 11:41

    get a cmd and run

    mvn eclipse:eclipse

    0 讨论(0)
  • 2020-12-07 11:43
    1-Right CLick on your project folder, Choose Build Path > Configure Build Path
    2-Select Libraries Tab and delete any arbitrary library present there.
    3-Click on Add Library option, Select JRE System Library and click Next.
    4-Choose last Radiobutton option Workspace default JRE and click Finish.
    5-press f5 for refresh.
    6-run ur program .
    
    0 讨论(0)
  • 2020-12-07 11:44

    This is what worked for me:

    1. Go to ~/.m2/repository and deleted everything there by running rm -rf. Make sure everything is deleted.
    2. Re-launch eclipse or STS
    3. Right click on project -> Maven -> update project.
    0 讨论(0)
提交回复
热议问题