Closed tugalsan closed 3 years ago
Do you really need to use the AnsiConsole.systemInstall()
call ? If running in a web app, tomcat usually does not have any console, as it is started as a service, so you don't need to call systemInstall()
at all.
Anyway, the problem is that the JVM most probably has a reference to the class loader and thus still holds a lock. Using a profile might help to see where it comes from.
Another possibility would be to add jansi to the tomcat parent classloader to avoid the problem.
Hello,
I am using your library to color my debug console of TOMCAT using XAMPP v3.2.4
I have an ServletContextListener implementation to add custom code on contextInitialized and contextDestroyed as below
When i upload new war file on TOMCAT, all files are removed except jansi-2.1.0.jar So I have to manually stop tomcat, delete project folder and restart tomcat again.
Am I doing sth wrong? Or the error is on smw else?
PC: XAMPP v3.2.4 & GWT & AdoptJDK 14 hotspot & Windows 10 Pro