You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
When using the Gradle daemon (the default), I'm unable to run Tomcat twice using the plugin. The first time it starts, there is no problem. I then run "gradle tomcatStop" followed by "gradle tomcatRun" to restart Tomcat. I get the error/stacktrace below. If I run, "gradle --stop" to stop the gradle daemon, I'm once again able to run "gradle tomcatRun" successfully.
I'm using the plugin version 2.5 and Tomcat version 9.0.22.
Caused by: java.lang.Error: factory already defined
at java.base/java.net.URL.setURLStreamHandlerFactory(URL.java:1184)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.(TomcatURLStreamHandlerFactory.java:130)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.getInstanceInternal(TomcatURLStreamHandlerFactory.java:53)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.register(TomcatURLStreamHandlerFactory.java:77)
at org.apache.catalina.webresources.StandardRoot.registerURLStreamHandlerFactory(StandardRoot.java:701)
at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:683)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 175 more
The text was updated successfully, but these errors were encountered:
When using the Gradle daemon (the default), I'm unable to run Tomcat twice using the plugin. The first time it starts, there is no problem. I then run "gradle tomcatStop" followed by "gradle tomcatRun" to restart Tomcat. I get the error/stacktrace below. If I run, "gradle --stop" to stop the gradle daemon, I'm once again able to run "gradle tomcatRun" successfully.
I'm using the plugin version 2.5 and Tomcat version 9.0.22.
Caused by: java.lang.Error: factory already defined
at java.base/java.net.URL.setURLStreamHandlerFactory(URL.java:1184)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.(TomcatURLStreamHandlerFactory.java:130)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.getInstanceInternal(TomcatURLStreamHandlerFactory.java:53)
at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.register(TomcatURLStreamHandlerFactory.java:77)
at org.apache.catalina.webresources.StandardRoot.registerURLStreamHandlerFactory(StandardRoot.java:701)
at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:683)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 175 more
The text was updated successfully, but these errors were encountered: