Eclipse Java Missing required source folder: 'src'

115,554

Solution 1

Right-Click Project --> Build Path --> Configure Build Path; unselect the SRC, save, select again.

This solved my problem.

Solution 2

Go to the Build Path dialog (right-click project > Build Path > Configure Build Path) and make sure you have the correct source folder listed, and make sure it exists.

The source folder is the one that holds your sources, usuglaly in the form: project/src/com/yourpackage/...

Solution 3

Right Click Project -> New -> Folder -> Folder Name: src -> Finish

Solution 4

Edit your .classpath file. (Or via the project build path).

Solution 5

Here's what worked for me: right click the project-> source -> format After that just drag and drop the source folder into eclipse under the project and select link.

good luck!

Share:
115,554

Related videos on Youtube

sam
Author by

sam

Updated on June 18, 2020

Comments

  • sam
    sam almost 4 years

    I imported a jar file into workspace and this is the error I get:

    Description Resource Path Location Type
    Project 'Interpreter1' is missing required source folder: 'src' Interpreter1 Build path Build Path Problem

    How can i get rid of this error?

  • sam
    sam about 13 years
    there are no source folders listed only an error saying i should have src
  • Bozho
    Bozho about 13 years
    @sam and where are you sources?
  • prograhammer
    prograhammer over 7 years
    This worked for me. On the source tab I used the remove button and removed the folders that were listed but not found.

Related