|
|
|
|
Re: Run Configurations Project and Main class not accessible [message #1837736 is a reply to message #1837732] |
Fri, 05 February 2021 00:12  |
Eclipse User |
|
|
|
I expect the project is not a Java project. Does the project's icon have a little J in the upper right corner. Does the *.java file's icon have a solid J icon or a hollow J icon? The latter meaning it's not on the classpath of a Java project so has not been compiled and cannot run.
I'm not sure the best way to convert it, but that's described here:
https://stackoverflow.com/questions/179439/how-to-change-an-eclipse-default-project-into-a-java-project
I use the first "not recommend way" in that post. What the post doesn't mention is how to even see the .project and .classpath files. You use the view menu's Filter... and uncheck the *.resources filter". The Facet approach I think maybe depends on parts that might only be installed in the JEE product.
You can create a blank new Java Project with the wizards to see what's normally in the .project file and .classpath file of a Java project.
|
|
|
Powered by
FUDForum. Page generated in 0.24363 seconds