In Eclipse, make sure you add your source folder in the project properties -> java build path -> source. Otherwise, the main() function may not be included in your project.
More Related Contents:
- java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. spark Eclipse on windows 7
- Scala project won’t compile in Eclipse; “Could not find the main class.”
- How to install JDBC driver in Eclipse web project without facing java.lang.ClassNotFoundexception
- Maven error “Failure to transfer…”
- ClassNotFoundException when using User Libraries in Eclipse build path
- Remote debugging Tomcat with Eclipse
- Eclipse : Maven search dependencies doesn’t work
- Get source jar files attached to Eclipse for Maven-managed dependencies
- How to auto-remove trailing whitespace in Eclipse?
- HTTP Status 404 – The requested resource (/) is not available
- Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace?
- Specifying a custom log4j.properties file for all of JUnit tests run from Eclipse
- How to modify the keyboard shortcuts in Eclipse IDE?
- Avoiding “resource is out of sync with the filesystem”
- Subclipse svn:ignore
- How can I configure the font size for the tree item in the package explorer in Eclipse?
- In Eclipse, can I have multiple Console views at once, each showing a different Console?
- Where is the deployment directory in Eclipse?
- TOMCAT – HTTP Status 404 [duplicate]
- How to place a file on classpath in Eclipse?
- How To Add Perspectives In Eclipse
- Dark color scheme for Eclipse [closed]
- Eclipse Workspaces: What for and why?
- Temporarily disable Eclipse plugin
- How to make Eclipse prompt me for command line arguments
- Ctrl + Space not working for content assist on eclipse
- App can’t be opened because it is from an unidentified developer
- Unbound classpath container in Eclipse
- How to run a batch script (.bat file) from eclipse
- Java 8 & Missing required capability Require-Capability: osgi.ee; filter=”(&(osgi.ee=JavaSE)(version=1.8))”