6 Star 8 Fork 8

WeBank / WeBASE-Transaction

 / 详情

初次部署,执行start.sh失败

待办的
创建于  
2022-01-05 15:49

问题描述:
源码分支 master
根据文档进行部署和修改了配置文件 application.properties
目前在启动的时候,已经创建了数据库表,如下:
输入图片说明
但是在控制台项目为启动成功,显示是SSLException
简要异常信息如下:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractController': Unsatisfied dependency expressed through field 'contractService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractService': Unsatisfied dependency expressed through field 'web3jMap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web3j' defined in class path resource [com/webank/webase/transaction/config/Web3Config.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [java.util.HashMap]: Factory method 'web3j' threw exception; nested exception is javax.net.ssl.SSLException: Failed to initialize the SSLContext: null
2022-01-05 15:16:57.852 [main] INFO ThreadPoolTaskExecutor() - Shutting down ExecutorService 'sdkThreadPool'
2022-01-05 15:16:57.853 [main] INFO DruidDataSource() - {dataSource-1} closing ...
2022-01-05 15:16:57.864 [main] INFO DruidDataSource() - {dataSource-1} closed
2022-01-05 15:16:57.864 [main] INFO DruidDataSource() - {dataSource-2} closing ...
2022-01-05 15:16:57.866 [main] INFO DruidDataSource() - {dataSource-2} closed
2022-01-05 15:16:57.883 [main] INFO AutoConfigurationReportLoggingInitializer() -

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2022-01-05 15:16:57.886 [main] ERROR SpringApplication() - Application startup failed

异常截图如下:

输入图片说明

评论 (0)

陈赛赛 创建了任务
陈赛赛 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
Java
1
https://gitee.com/WeBank/WeBASE-Transaction.git
git@gitee.com:WeBank/WeBASE-Transaction.git
WeBank
WeBASE-Transaction
WeBASE-Transaction

搜索帮助

344bd9b3 5694891 D2dac590 5694891