運行出現錯誤
嚴重: Servlet.service() for servlet [WeixinServlet] in context with path [/Weixin] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserException
at com.thoughtworks.xstream.XStream.<init>(XStream.java:350)
at com.shqc.utl.MessageUtil.textMessageToXml(MessageUtil.java:50)
at com.shqc.servlet.WeixinServlet.doPost(WeixinServlet.java:53)
這是什么情況,維信給公眾號發一次消息就出來一次
2016-10-25
我也是這樣
2016-08-25
xstream jar包版本不一樣 ?你也用1.3.1 版本的1就沒問題了。