【发布时间】:2015-03-23 09:35:53
【问题描述】:
我有一个带有 Camel-HTTP 的 Spring Boot 集成应用程序。由于 Camel-HTTP 依赖于 geronimo-servlet,因此 Spring Boot 正在尝试加载 Web 应用程序上下文。
如何强制 Spring 不加载 EmbeddedWebApplicationContext?
我已尝试使用 @EnableAutoConfiguration(exclude = ...) 注释排除在 org.springframework.boot.autoconfigure.web 中找到的所有 AutoConfiguration 类。
【问题讨论】:
标签: java spring spring-mvc apache-camel spring-boot