I have some classes in my current project which have the wrong package declaration (they are in the wrong folder for their declared package.)
Unfortunately, fixing the problem by moving the class is not an option. Is there a way I can get eclipse to ignore the error?
You can fiddle with Eclipse’s display in the “Errors/Warnings” section of preferences, but
Java requires that you have files in the correct folder to match their package, so it won’t be able to build