I compile the project successfully in Eclipse without any error.
But when I tried to compile it in IntelliJ, the following error shows:
I double-clicked the error message, it located into the first line of one Java class, which is the package definition line, and there's no compilation error in this class.
I tried to fix this by specifying the JDK, but it didn't work.
Anyone knows what's happening here?