dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.9k stars 2.06k forks source link

默认序列化会报警告Hessian/Burlap: calss is an unknown class in WebappClassLoader #366

Open MicroCountry opened 6 years ago

MicroCountry commented 6 years ago

这个错误在服务消费者会出现 2017-11-06 10:06:09 CST api-mall-manage WARN com.alibaba.com.caucho.hessian.io.SerializerFactory 528 getDeserializer - Hessian/Burlap: 'com.mit.service.define.v1.entity.TokenPkg' is an unknown class in WebappClassLoader context: / delegate: false ----------> Parent Classloader: sun.misc.Launcher$AppClassLoader@42a57993 : java.lang.ClassNotFoundException: com.mit.service.define.v1.entity.TokenPkg 但是不影响服务正常调用

猜测,我的程序是使用了spring-boot的,WebappClassLoader会首先去META-INF下面去找lib文件,找不到,就报我刚才那个错误,但是spring-boot打的包是在BOOT-INF下面的,会不会是这个原因,由于服务提供者是非web的,所以不会出现这个问题?

wuwu955 commented 4 years ago

hi 我也看到过这个日志的 特烦人...

TrillStones commented 3 years ago

服务端dubbo版本和客户端的dubbo版本不一致。