java.lang.RuntimeException

java.net.MalformedURLException: No !/ in spec 'file:/Users/robert/Documents/myApp.war!'

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1176

Stack trace

  • java.lang.RuntimeException: java.net.MalformedURLException: No !/ in spec 'file:/Users/robert/Documents/myApp.war!' at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:121) at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:127) at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65) at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72) at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:207) at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:233) at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:131) at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:57) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1122) at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) at org.xnio.nio.WorkerThread.run(WorkerThread.java:559) Caused by: java.net.MalformedURLException: No !/ in spec 'file:/Users/robert/Documents/myApp.war!' at java.net.URL.<init>(URL.java:627) at java.net.URL.<init>(URL.java:490) at java.net.URL.<init>(URL.java:439) at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainerFactory$JarResourceManager.getResource(UndertowEmbeddedServletContainerFactory.java:621) at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:91) ... 13 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

HandemelindoHandemelindo
Once,
Hiren AmaliyarHiren Amaliyar
27 times, last one
AravindAravind
Once,
mist69mist69
2 times, last one
pulse00pulse00
3 times, last one
94 more bugmates