Description
版本号:
2.1.4
问题描述:
按照文档的war包部署一步一步走的,代码没有改任何东西。
tomcat报错
2020-05-01 21:53:46.563 [Catalina-utility-1] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:557 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Unsatisfied dependency expressed through method 'methodValidationPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shiroFilter' defined in class path resource [org/jeecg/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'shiroFilter' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [org/jeecg/config/ShiroConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.shiro.web.mgt.DefaultWebSecurityManager]: Factory method 'securityManager' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
截图&代码:
友情提示: 未按格式要求发帖,会直接删掉。
Activity
wyx666518 commentedon May 1, 2020
package是成功了,但是tomcat那边跑不起来。
zhangdaiscott commentedon May 28, 2020
是按照这个文档操作的吗
http://doc.jeecg.com/1273923
zhangdaiscott commentedon May 28, 2020
经测试按照文档操作,没有问题