Home > database >  Java project which runs fine in Inteliji, can't compile in VSCode
Java project which runs fine in Inteliji, can't compile in VSCode

Time:09-08

Quick disclaimer: It's my 1st day at work and the following project has been written by my superior. All of this is very new to me so thank you for being patient.

Now to the point. So I received a java project that uses jdk 17. So today I tried to run it in VSCode using the Java Language Support and Java Debugger extensions. It showed some critical errors. enter image description here

Then according to your screenshot,the level after your package is not the same as your actual directory level. Please modify to the correct directory structure.

enter image description here

  • Related