Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

war包极简部署 #1146

Closed
wyx666518 opened this issue May 1, 2020 · 0 comments
Closed

war包极简部署 #1146

wyx666518 opened this issue May 1, 2020 · 0 comments

Comments

@wyx666518
Copy link

版本号:

2.1.4

问题描述:

因为生产环境的特殊性,需要使用tomcat进行部署,然后也没有nginx,请问如何通过极简部署这种方式来部署war包呢?我把两边的文档操作融合了一下,然后一直报
ERROR org.springframework.boot.SpringApplication:858 - Application run failed
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

请教下,谢谢!

截图&代码:

友情提示: 未按格式要求发帖,会直接删掉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant