I am trying to use Aisstream to fetch AIS data for my Spring Boot Project. It runs fine when I run only it. But when I try to run it as a component of the project, it refuses to run with error about clash of SLF4J and default logger, which if I try by disabling the default logger, generates even more errors. When I try to run it through main class by creating object of AISWebSocketClient class, it just closes immediately. What should I do?
I am trying to use Aisstream to fetch AIS data for my Spring Boot Project. It runs fine when I run only it. But when I try to run it as a component of the project, it refuses to run with error about clash of SLF4J and default logger, which if I try by disabling the default logger, generates even more errors. When I try to run it through main class by creating object of AISWebSocketClient class, it just closes immediately. What should I do?