ognl.SimpleNode.isEvalChain(Lognl/OgnlContext;)Z

问题:这是ognl的版本冲突,可以把低版本的去掉;

解决:这是ognl的版本冲突,可以把低版本的ognl的jar包的去掉;

我把ognl包都去掉,加上下面的包,用里面自带的ongl

<!-- https://mvnrepository.com/artifact/org.apache.struts/struts2-core -->
<dependency>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts2-core</artifactId>
    <version>2.3.30</version>
</dependency>
 

猜你喜欢

转载自blog.csdn.net/qq_31308933/article/details/81745322
z