** And, in general, you often get a library with multiple classes in a JAR file ** ** However, the library does not work even if I import it normally! **
** This is because java only searches the path specified by the classpath, so there are two solutions **
As an exercise, download the commons-logging: classes for easy logging from the Apache Software Foundation site as a zip. You can download commons-logging from here
Then place the extracted files in the same directory.
It's red and you can see that it can't be used yet. Right-click and press Add as Library.This kind of thing will appear, so select your directory and press OK to complete!
You can see that it is working properly. That's it
You may want to try it when a beginner doesn't know how to use / reuse the JAR file for the first time. that's all It was from a novice programmer
Recommended Posts