Package name does not correspond to the file path – IntelliJ
Judging from the directory structure, you have two packages client and server, but the code expects packages badugi.client and badugi.server. Here is a way to fix it: Position your cursor to the underlined package statement (package badugi.server) Hit ALT + ENTER Select option Move to package badugi.server. This will automatically fix your directory structure to match the declared package … Read more