Skip to content

war包部署失败 #1147

Closed
Closed
@wyx666518

Description

@wyx666518
版本号:

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

wyx666518 commented on May 1, 2020

@wyx666518
Author

package是成功了,但是tomcat那边跑不起来。

zhangdaiscott

zhangdaiscott commented on May 28, 2020

@zhangdaiscott
Member

是按照这个文档操作的吗
http://doc.jeecg.com/1273923

zhangdaiscott

zhangdaiscott commented on May 28, 2020

@zhangdaiscott
Member

经测试按照文档操作,没有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@wyx666518

        Issue actions

          war包部署失败 · Issue #1147 · jeecgboot/JeecgBoot