问答详情
源自:5-4 消息的接收与响应2

XStream xStream = new XStream(); 报错

严重: Servlet.service() for servlet [springMVC] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/xstream/XStream] with root cause

java.lang.ClassNotFoundException: com.thoughtworks.xstream.XStream

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)


提问者:qq_小太胸_0 2016-07-11 23:00

个回答

  • 慕沐1712086
    2018-07-28 22:23:29

    怎么解决de ?挖坟的  哎  没办法  

  • 天上有UFO
    2016-07-12 15:12:46

    提示很明显,需要添加引用xstream包