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

前端 未结 20 904
半阙折子戏
半阙折子戏 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:52

    If you think you've done everything correctly but Eclipse still complains about the jars, refresh the folder where the jars are and make sure eclipse knows they've been added to the project. Specifying the file path alone is (apparently) not enough

    0 讨论(0)
  • 2020-12-07 11:52
    Added below to pom.xml file and it worked eventually: 
    
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>4.0.0</version>
        <scope>provided</scope>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题