【SSH】Artifact nextshop:war exploded: Error during artifact deployment. See server log for details.

在做SSH项目中,遇到了这样的问题:

【SSH】Artifact nextshop:war exploded: Error during artifact deployment. See server log for details.

之前都好好的,自从引入了这个包之后就出现了这种情况,于是,我又把刚刚引入的包注释掉了:

【SSH】Artifact nextshop:war exploded: Error during artifact deployment. See server log for details.

 

注释掉之后,果然又可以正常运行了。看来是这个包的问题:

     原来在Struts2.5中,xwork单独的jar已经合并到了struts-core的jar包中了,打开struts-core jar包 就发现了:

【SSH】Artifact nextshop:war exploded: Error during artifact deployment. See server log for details.

果然有,所以不需要再额外的引入xwork包,如果引入了就会出现这种异常!

所以如果出现了     Artifact XXX:war exploded: Error during artifact deployment. See server log for details.   这种问题,可以考虑看看自己是不是额外引入了xwork的包!