I am new to web development and I've downloaded some demo projects to learn how to develop REST client side application using Eclipse.
These are two examples:
I am trying to write some test cases using JUnit for project 1, however, Right Click (a class) => new Junit Test Case => the error happens all the time telling me "source folder is not on the java build class path" and I can not create the JUnit file.
But for the project 2, all the info is filled automatically.
If I right click src for second project and in build path "remove from build path", it will become the same format (folders) as proj 1. But hundreds of errors of source code about package name, and all the "import" statements.
Is it related to how Eclipse works? Could anyone give a simple explanation of how I can change the proj 1 to the correct format? I tried to "build path" for proj 1 and... hundreds of error of the source code..
Thank you!