lujiajing1126 opened a new issue, #13221:
URL: https://github.com/apache/skywalking/issues/13221

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
   https://github.com/apache/skywalking-java/pull/739/files#r2068184158
   
   ### What you expected to happen
   
   The application can start normally.
   
   ### How to reproduce
   
   A minimal example to reproduce the issue, from the example code shown in 
[this SO 
question](https://stackoverflow.com/questions/45124660/the-bean-could-not-be-injected-as-a-type-because-it-is-a-jdk-dynamic-proxy-tha).
   
   ```java
   @SpringBootApplication
   @EnableTransactionManagement
   public class StackoverflowApplication {
   
       @Autowired private SomeService service;
   
       public static void main(String[] args) {
           SpringApplication.run(StackoverflowApplication.class, args);
       }
   }
   
   @Service
   class SomeService {
       
       @Override
       @Transactional
       public void handle() { }
   
       @Trace // Use Trace annotation in order to let SkyWalking Java Agent to 
enhance this class
       public void methodToBeTraced() {}
   }
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to