Reason: there cannot be more than one directory under the same directory package main
There are two files in a directory, in which main
main program is written
Solution: put the two files in separate directories
Similar Posts:
- Could not find the main class Program will exit [How to Solve]
- Go build Error: cannot find package “fmt” in any of [How to Solve]
- Mysqldump error: tab (ErrCode:13-Permission denied) [How to Solve]
- C Language: How to Search in Header File (Two Methods)
- LIBRARY_ Path and LD_ LIBRARY_ The difference of path environment variable
- How to Solve Warning: No mapping found for HTTP request with URI [] in DispatcherServlet with name
- Solve the problem of link: fatal error LNK1104: unable to open the file “d3dx9. Lib”
- fatal: Not a git repository (or any of the parent directories): .git
- Bower Error: ENOGIT Git is not installed or not in the PATH
- Solution to JavaFX error caused by: Java.Lang.NullPointerException: location is required