spring-projects / spring-projects/spring-data-commons

ProxyTransactionManagementConfiguration is not eligible for getting processed by all BeanPostProcessors [DATACMNS-1649]

Open
#2,072 2 comments 1 reaction 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 30, 2020.

type: bug
Dominant language
Java
Stars
838
Forks
730
PR merge metrics
No merged PRs in 30d

Description

servetk opened DATACMNS-1649 and commented

Hi, 

I got the following info message during the startup.

2020-01-12 17:50:53.971 INFO 12892 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 

I realized that it happens when spring-boot-starter-data-jpa and spring-boot-starter-web are available as dependency together.  It can be generated with the minimum configuration generated by spring initializr that includes  spring-boot-starter-data-jpa , spring-boot-starter-web and h2database. I have tried with boot versions 2.1.7, 2.2.2, 2.2.3, 2.3.0.

 

Here is startup logs generated. Could you plase let me know what to do?

. ____ _ __ _ _
/\ / _'_ __ _ ()_ __ __ _ \ \ \
( ( )_
| '_ | '| | ' / _` | \ \ \
\/ )| |)| | | | | || (_| | ) ) ) )
' |
| .__|| ||_| |___, | / / / /
=========||==============|/=///_/
:: Spring Boot :: (v2.2.2.RELEASE)

2020-01-12 18:12:16.480 INFO 22836 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on servet-PC with PID 22836 (D:\Work\Projects\Deneme\boot\1\demo\demo\target\classes started by servet in D:\Work\Projects\Deneme\boot\1\demo\demo)
2020-01-12 18:12:16.486 INFO 22836 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default
2020-01-12 18:12:17.790 INFO 22836 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2020-01-12 18:12:17.835 INFO 22836 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24ms. Found 0 JPA repository interfaces.
2020-01-12 18:12:18.738 INFO 22836 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-12 18:12:20.164 INFO 22836 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2020-01-12 18:12:20.177 INFO 22836 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-01-12 18:12:20.177 INFO 22836 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.29]
2020-01-12 18:12:20.334 INFO 22836 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-01-12 18:12:20.335 INFO 22836 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3755 ms
2020-01-12 18:12:20.585 INFO 22836 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2020-01-12 18:12:20.697 INFO 22836 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.9.Final}
2020-01-12 18:12:20.981 INFO 22836 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2020-01-12 18:12:21.140 INFO 22836 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2020-01-12 18:12:21.346 INFO 22836 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2020-01-12 18:12:21.371 INFO 22836 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2020-01-12 18:12:21.665 INFO 22836 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-01-12 18:12:21.673 INFO 22836 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-01-12 18:12:21.919 INFO 22836 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-01-12 18:12:22.261 INFO 22836 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2020-01-12 18:12:22.265 INFO 22836 --- [ main] com.example.demo.DemoApplication : Started DemoApplication in 6.434 seconds (JVM running for 7.17)

 

 


Reference URL: https://github.com/spring-projects/spring-boot/issues/17561

1 votes, 3 watchers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.