Using only vscode with java extensions added, and native Java 8 without any additional libraries or extensions, I\'d like to use log4j.
I have downloaded the various .ja
1.make sure you hava create a folder named lib
and add your .jar
file into it
2.Configure paths in the .classpath
like:
<classpathentry kind="lib" path="lib/log4j-1.2-api-2.11.2.jar"/>
<classpathentry kind="lib" path="lib/log4j-api-2.11.2.jar"/>
<classpathentry kind="lib" path="lib/log4j-core-2.11.2.jar"/>
3.if it still thow error,Clean the workspace directory:
the VS Code user workspace storage area can be found under these locations :
could refer to add jar