ptahchiev / jetty-slow-startup

This repository demonstrates java8 + jetty 9.2.10.v20150310 slow startup (takes more than 15 minutes)
0 stars 0 forks source link

this may help #2

Open yangc91 opened 7 years ago

yangc91 commented 7 years ago

try this:

<configuration>
    <webApp>
    <contextPath>/backend</contextPath>
    </webApp>
    <contextXml>${basedir}/jetty-env.xml</contextXml>
</configuration>                

or

<configuration>
    <webApp>
        <contextPath>/backend</contextPath>
        <webInfIncludeJarPattern>.*/spring-[^/]*\.jar$</webInfIncludeJarPattern>
    </webApp>
    <contextXml>${basedir}/jetty-env.xml</contextXml>
</configuration>