Eclipse Java Missing required source folder: 'src'

前端 未结 14 1168
伪装坚强ぢ
伪装坚强ぢ 2021-01-01 08:48

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

Description Resource Path Location Type
Project \'Interpreter1\'

14条回答
  •  别那么骄傲
    2021-01-01 09:17

    In eclipse, you must be careful to create a "source folder" (File->New->Source Folder). This way, it's automatically on your classpath, and, more importantly, Eclipse knows that these are compilable files. It's picky that way.

提交回复
热议问题