为了账号安全,请及时绑定邮箱和手机立即绑定

警告: Hessian/Burlap: 序列号出现警告,怎么消除?虽然不影响,但是看着不爽

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo

七月 07, 2019 11:26:09 上午 com.alibaba.com.caucho.hessian.io.SerializerFactory getDeserializer

警告: Hessian/Burlap: 'com.debug.mooc.dubbo.one.model.entity.ItemInfo' is an unknown class in TomcatEmbeddedWebappClassLoader

  context: dubboTwo

  delegate: true

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@18b4aac2

:

java.lang.ClassNotFoundException: com.debug.mooc.dubbo.one.model.entity.ItemInfo


正在回答

1 回答

因为dubboTwo项目没有com.debug.mooc.dubbo.one.model.entity.ItemInfo这个类,我这边是这么解决的,在pom文件中引的是model,而不是api,这样就没警告信息了。

<dependency>
    <groupId>top.freespace.dubbo.one</groupId>
    <artifactId>model</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>
0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

警告: Hessian/Burlap: 序列号出现警告,怎么消除?虽然不影响,但是看着不爽

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信