Skip to content

Commit

Permalink
Fix for NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
Browse files Browse the repository at this point in the history
When starting Studio it fails loading org/slf4j/impl/StaticLoggerBinder
due to chaneges in sping from version 2.7.8

See:
* spring-projects/spring-boot#12649 (comment)
* https://docs.spring.io/spring-boot/docs/2.7.8/reference/html/features.html#features.logging
  • Loading branch information
KristianKarl committed Sep 25, 2024
1 parent 3e19665 commit 772dac5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class Application {
private static final Logger logger = LoggerFactory.getLogger(Application.class);

public static void main(String[] args) throws UnknownHostException {
System.setProperty("org.springframework.boot.logging.LoggingSystem", "none");
Application app = new Application();
try {
app.run(args);
Expand Down

0 comments on commit 772dac5

Please sign in to comment.