shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

ShardingSphere Bean is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

Open Lacxner opened this issue 3 years ago • 3 comments

Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

5.0.0Beta

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-JDBC

Expected behavior

Actual behavior

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

Example codes for reproduce this issue (such as a github link).

Console print Bean is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) where application bootstraps. 1628085763(1) 1628085883(1)

Lacxner avatar Aug 04 '21 14:08 Lacxner

I will make a try.

linghengqian avatar Feb 27 '22 17:02 linghengqian

  • There is a problem, ShardingSphere JDBC SpringBoot Starter is still using spring-context-4.3.25.RELEASE instead of spring-context-5.x, which causes org.springframework.context.annotation.Configuration not to exist proxyBeanMethods properties.

  • Considering issues like https://github.com/apache/shardingsphere/issues/20963 , I think we should drop ShardingSphere JDBC SpringBoot Starter support for SpringBoot OSS 1.X?

  • image

  • image

linghengqian avatar Sep 18 '22 05:09 linghengqian

  • I noticed that the git record actually used Spring Framework 5.x for a while, but was reverted. I will be submitting a PR to drop support for Spring Boot OSS 1.X shortly.

  • Considering https://spring.io/projects/spring-framework#support , the scope of the project's springframework.version should start from 5.3.0 to facilitate collaboration.

linghengqian avatar Sep 18 '22 07:09 linghengqian

Hello , this issue has not received a reply for several days. This issue is supposed to be closed.

github-actions[bot] avatar Oct 08 '22 16:10 github-actions[bot]

  • I just can't submit a PR right away due to personal matters.

linghengqian avatar Oct 08 '22 17:10 linghengqian

  • Found that I can't fully solve this problem locally, I'm not working on this issue.

linghengqian avatar Oct 09 '22 07:10 linghengqian

  • This issue should be marked as resolved and closed due to https://github.com/apache/shardingsphere/issues/22469 .

linghengqian avatar Dec 02 '22 15:12 linghengqian

Closed for #22469.

RaigorJiang avatar Dec 08 '22 14:12 RaigorJiang