问题描述
springboot搭建服务,wildfly服务可以正常启动,方法调用可以正常进入方法,但是返回时报错:
分析处理
jboss服务启动的时候,undertow.servlet版本为 1.0.15.Final:
15:13:32,744 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool – 45) JBAS017502: Undertow 1.0.15.Final starting
15:13:32,756 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017502: Undertow 1.0.15.Final starting
15:13:32,811 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool – 45) JBAS017527: Creating file handler for path F:\wildfly-8.1.0.Final/welcome-content
本地wildfly包中:
F:\wildfly-8.1.0.Final\modules\system\layers\base\io\undertow\servlet\main\module.xml
undertow-servlet-1.0.15.Final.jar中有bug导致问题出现。
升级undertow-servlet版本为undertow-servlet-1.1.8.Final.jar,并修改module.xml配置