Skip to content

XStream在maven依赖中有,但依然包找不到类 #91

@brett25

Description

@brett25
    项目正常运行起来后,在消息转换时报XStreamTransformer类不存在,可MAVN依赖中存在该JAR包。

我百度说SAE已经禁用了XSteam.而我在本地tomcat7中也遇到同样的问题,这个该如何解决是好?
http://blog.csdn.net/lyq8479/article/details/38878543)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.chanjar.weixin.mp.util.xml.XStreamTransformer
at me.chanjar.weixin.mp.bean.message.WxMpXmlMessage.fromXml(WxMpXmlMessage.java:545)
at com.bhj.controller.CoreWxController.wechatCore(CoreWxController.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions