Skip to content

Commit 1c89a31

Browse files
authored
Merge pull request #300 from gy-chen/master
fix jettyStart throws exception if using jetty-env.xml
2 parents c3de02d + 2478ad3 commit 1c89a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/gretty-runner-jetty11/src/main/groovy/org/akhikhl/gretty/JettyConfigurerImpl.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class JettyConfigurerImpl implements JettyConfigurer {
250250
URL findResourceURL(baseResource, String path) {
251251
Resource res = baseResource.addPath(path)
252252
if(res.exists())
253-
return res.getURL()
253+
return res.getURI().toURL()
254254
null
255255
}
256256

0 commit comments

Comments
 (0)