Skip to content

wx-java-open-multi-spring-boot-starter HttpClient 版本依赖问题 #4059

Description

@qichhhhh

提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,尤其是常见问题部分。完成内容后,请务必移除包括本句在内的无用内容,以免影响阅读,否则直接关闭,谢谢合作~

另外如果确认属于bug,而且已明确如何修复,请参考贡献指南直接提交PR,省的浪费时间在这里描述问题,非常感谢配合

简要描述

wx-java-open-multi-spring-boot-starter 在 AbstractWxOpenConfiguration.java 中硬编码了 HttpClient4 的相关代码,导致必须要显式引入多一个 HttpClient4 的依赖,否则无法正确启动项目

模块版本情况

  • WxJava 模块名: 4.8.3.B

日志

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxOpenMultiServices' defined in class path resource [com/binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInRedisTemplateConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.binarywang.spring.starter.wxjava.open.service.WxOpenMultiServices]: Factory method 'wxOpenMultiServices' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/conn/HttpClientConnectionManager

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions