javadiscord / java-discord-api

A wrapper over the discord API to create bots using Java
GNU General Public License v3.0
7 stars 8 forks source link

Added `.class` to LogManager #128

Closed surajkumar closed 1 month ago

surajkumar commented 1 month ago

When running from a .jar file, Log4J was throwing an exception that it couldn't find some class. Turns out we need to add .class to LogManager

Added fat jar config to example-bot

This PR also includes an important fix: Annotations were not loading when the project was ran directly from a .jar file

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarCloud