File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
libs/gretty-runner-jetty94/src/main/groovy/org/akhikhl/gretty Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ class JettyConfigurerImpl implements JettyConfigurer {
207207 context. setWebInfLib(webappClassPath. findAll { it. endsWith(' .jar' ) && ! isServletApi(it) }. collect { new File (it) })
208208 context. setExtraClasspath(webappClassPath. collect { it. endsWith(' .jar' ) ? it : (it. endsWith(' /' ) ? it : it + ' /' ) }. findAll { ! isServletApi(it) }. join(' ;' ))
209209 context. setInitParameter(' org.eclipse.jetty.servlet.Default.useFileMappedBuffer' , serverParams. productMode ? ' true' : ' false' )
210+ context. setAttribute(' org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern' ,
211+ ' .*/[^/]*servlet-api-[^/]*\\ .jar$|.*/javax.servlet.jsp.jstl-.*\\ .jar$|.*/[^/]*taglibs.*\\ .jar$' );
210212 FilteringClassLoader classLoader = new FilteringClassLoader (context)
211213 classLoader. addServerClass(' ch.qos.logback.' )
212214 classLoader. addServerClass(' org.slf4j.' )
You can’t perform that action at this time.
0 commit comments