diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java index e9c2382a283..8d5b502a4c6 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java @@ -67,7 +67,7 @@ public class MavenAnnotationConfiguration extends AnnotationConfiguration //scan the equivalent of the WEB-INF/classes directory that has been synthesised by the plugin if (f.isDirectory() && f.exists()) { - doParse(context, parser, Resource.newResource(f.toURL())); + doParse(context, parser, Resource.newResource(f.toURI())); } }