我尝试从JBoss 4.2迁移到Widfly 10.当使用io.undertow.servlet.spec.HttpServletRequestImpl作为参数I访问ejb方法时,得到NotSerializableException。以下是痕迹。
Caused by: java.io.NotSerializableException: io.undertow.servlet.spec.HttpServletRequestImpl
at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:253)
at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:128)
at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:328)
... 64 more
感谢任何帮助。