package org.ohdsi.webapi;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;

/**
 * Launch as java application or deploy as WAR (@link {@link WebApplication} will source this file).
 */
@SpringBootApplication(exclude=HibernateJpaAutoConfiguration.class)
public class WebApi extends SpringBootServletInitializer {
    
    @Override
    protected SpringApplicationBuilder configure(final SpringApplicationBuilder application) {
        return application.sources(WebApi.class);
    }
    
    public static void main(final String[] args) throws Exception {
        new SpringApplicationBuilder(WebApi.class).run(args);
    }
}

@@ -170,24 +170,106 @@
 figuration;%0A
+import org.springframework.boot.autoconfigure.velocity.VelocityAutoConfiguration;%0A
 import org.s
@@ -537,16 +537,17 @@
 exclude=
+%7B
 Hibernat
@@ -573,16 +573,49 @@
 on.class
+,VelocityAutoConfiguration.class%7D
 )%0Apublic

Exclude velocity auto config. Problematic in multi webapp deployments. Further review necessary to determine why the class linkage problem exists. Since WebAPI is headless, seemed appropriate to exclude.