apache / apache/incubator-seata
Seata + JPA + IDEA + jrebel debug启动报错
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
- [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
Seata + JPA + IDEA + jrebel debug启动报错
jrebel是IDEA的一个热部署插件,不用这个插件时可以正常启动
### Ⅱ. Describe what happened
启动报错:
Caused by: java.lang.NoSuchFieldException: advised
at java.lang.Class.getDeclaredField(Class.java:2070) ~[na:1.8.0_171]
at io.seata.spring.util.SpringProxyUtils.getAdvisedSupport(SpringProxyUtils.java:107) ~[seata-all-1.4.0.jar:1.4.0]
at io.seata.spring.util.SpringProxyUtils.findTargetClass(SpringProxyUtils.java:51) ~[seata-all-1.4.0.jar:1.4.0]
at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:256) ~[seata-all-1.4.0.jar:1.4.0]
... 29 common frames omitted
### Ⅲ. Describe what you expected to happen
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
我的项目环境是springboot + dubbo + seata + jpa,使用IDEA的jrebel插件启动项目就会报错
### Ⅴ. Anything else we need to know?
### Ⅵ. Environment:
- JDK version :
- OS :
- Others:
Contributor guide
Research direction
Start with io.seata.spring.util.SpringProxyUtils.getAdvisedSupport at line 107 and the stack trace from seata-all-1.4.0. Reproduce the failure in the reported Spring Boot, Dubbo, Seata, JPA, IDEA, and JRebel environment, then verify behavior without JRebel. Done means the debug startup no longer fails with NoSuchFieldException: advised.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100