Commit 0993f3da authored by Dave Syer's avatar Dave Syer Committed by Phillip Webb

Restore Tomcat in CLI

Seems to work. I think the problem was the race conditions
that we hopefully already eliminated. I got an out of memory
error running the samples tests in Eclipse, but then it went
away again (something to look out for).

[Fixes #54925992] [bs-280]
parent 52144fbb
......@@ -43,9 +43,12 @@ public class SpringMvcCompilerAutoConfiguration extends CompilerAutoConfiguratio
.add("org.springframework", "spring-webmvc",
dependencies.getProperty("spring.version"));
dependencies.ifAnyMissingClasses("org.eclipse.jetty.server.Server").add(
"org.eclipse.jetty", "jetty-webapp",
dependencies.getProperty("jetty.version"));
dependencies
.ifAnyMissingClasses("org.apache.catalina.startup.Tomcat")
.add("org.apache.tomcat.embed", "tomcat-embed-core",
dependencies.getProperty("tomcat.version"))
.add("org.apache.tomcat.embed", "tomcat-embed-logging-juli",
dependencies.getProperty("tomcat.version"));
dependencies.add("org.codehaus.groovy", "groovy-templates",
dependencies.getProperty("groovy.version"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment