I have included libraries using File->Project Structure->Libraries:
In Artifacts, I made sure to include the library in the output JAR file:
When I run the program inside IntelliJ, it works fine. However, when I try to run the JAR file it generates, it displays a NoClassDefFoundError:
So the libraries aren't working. How can I get libraries to work in IntelliJ?
(I have never run into the problem before...)