You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "L1yp (via GitHub)" <gi...@apache.org> on 2025/01/08 12:38:53 UTC

[I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

L1yp opened a new issue, #15041:
URL: https://github.com/apache/dubbo/issues/15041

   ### Pre-check
   
   - [X] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Descriptions
   
   spring5.3.39 cannot start in springboot3.2.5
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [X] 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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "oxsean (via GitHub)" <gi...@apache.org>.
oxsean commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2577721097

   I don't quite understand what you mean. Spring Boot 3 must dependency on Spring 6.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "L1yp (via GitHub)" <gi...@apache.org>.
L1yp commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2577734750

   After I introduced dubbo, I couldn't start my project. My springboot version is 3.2.5, and I saw that the spring version of dubbo-config is 5.3.39, so I have questions about this: How to introduce dubbo dependencies in the springboot3 (spring6) environment?
   
   my code:
   
   ```xml
         <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
           <version>3.3.2</version>
         </dependency>
         <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-spring-boot-starter</artifactId>
           <version>3.3.2</version>
         </dependency>
   
   ```


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "oxsean (via GitHub)" <gi...@apache.org>.
oxsean commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2577783632

   Refer to this example to import spring boot bom to manage spring versions
   https://github.com/apache/dubbo-samples/tree/master/1-basic/dubbo-samples-spring-boot


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "L1yp (via GitHub)" <gi...@apache.org>.
L1yp commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2661779666

   > > > I don't quite understand what you mean. Spring Boot 3 must dependency on Spring 6.我不太明白你的意思。 Spring Boot 3必须依赖于Spring 6。
   > > 
   > > After I introduced dubbo, I couldn't start my project. My springboot version is 3.2.5, and I saw that the spring version of dubbo-config is 5.3.39, so I have questions about this: How to introduce dubbo dependencies in the springboot3 (spring6) environment?介绍了Dubbo之后,我无法开始我的项目。我的Springboot版本是3.2.5,我看到Dubbo-Config的弹簧版为5.3.39,所以我对此有疑问:如何在Springboot3(Spring6)环境中介绍Dubbo依赖关系?
   > > 
   > > my code:  我的代码:
   > > 
   > >       <dependency>
   > >         <groupId>org.apache.dubbo</groupId>
   > >         <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
   > >         <version>3.3.2</version>
   > >       </dependency>
   > >       <dependency>
   > >         <groupId>org.apache.dubbo</groupId>
   > >         <artifactId>dubbo-spring-boot-starter</artifactId>
   > >         <version>3.3.2</version>
   > >       </dependency>
   > 
   > you should like this
   > ```xml
   > <dependencies>
   >     <!-- Spring Boot 3.2.5 -->
   >     <dependency>
   >         <groupId>org.springframework.boot</groupId>
   >         <artifactId>spring-boot-starter</artifactId>
   >         <version>3.2.5</version>
   >     </dependency>
   > 
   >     <!-- Dubbo dependencies with exclusions -->
   >     <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
   >         <version>3.3.2</version>
   >         <exclusions>
   >             <exclusion>
   >                 <groupId>org.springframework.boot</groupId>
   >                 <artifactId>spring-boot-starter</artifactId>
   >             </exclusion>
   >         </exclusions>
   >     </dependency>
   >     <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-starter</artifactId>
   >         <version>3.3.2</version>
   >         <exclusions>
   >             <exclusion>
   >                 <groupId>org.springframework.boot</groupId>
   >                 <artifactId>spring-boot-starter</artifactId>
   >             </exclusion>
   >         </exclusions>
   >     </dependency>
   > </dependencies>
   > ```
   
   
   
   
   Thank you, I have successfully started it according to the dubbo-examples method.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "L1yp (via GitHub)" <gi...@apache.org>.
L1yp commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2577693646

   > Spring Boot 3.0 builds on and requires Spring Framework 6 https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes
   
   download source code and build, install to maven repo?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "sheiy (via GitHub)" <gi...@apache.org>.
sheiy commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2655352126

   @oxsean Maybe need a spring boot3 dubbo bom ?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "sunheyi6 (via GitHub)" <gi...@apache.org>.
sunheyi6 commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2661766220

   > > I don't quite understand what you mean. Spring Boot 3 must dependency on Spring 6.我不太明白你的意思。 Spring Boot 3必须依赖于Spring 6。
   > 
   > After I introduced dubbo, I couldn't start my project. My springboot version is 3.2.5, and I saw that the spring version of dubbo-config is 5.3.39, so I have questions about this: How to introduce dubbo dependencies in the springboot3 (spring6) environment?介绍了Dubbo之后,我无法开始我的项目。我的Springboot版本是3.2.5,我看到Dubbo-Config的弹簧版为5.3.39,所以我对此有疑问:如何在Springboot3(Spring6)环境中介绍Dubbo依赖关系?
   > 
   > my code:  我的代码:
   > 
   >       <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
   >         <version>3.3.2</version>
   >       </dependency>
   >       <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-starter</artifactId>
   >         <version>3.3.2</version>
   >       </dependency>
   
   you should like this
   ```xml
   <dependencies>
       <!-- Spring Boot 3.2.5 -->
       <dependency>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter</artifactId>
           <version>3.2.5</version>
       </dependency>
   
       <!-- Dubbo dependencies with exclusions -->
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
           <version>3.3.2</version>
           <exclusions>
               <exclusion>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-starter</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-spring-boot-starter</artifactId>
           <version>3.3.2</version>
           <exclusions>
               <exclusion>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-starter</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
   </dependencies>
   ```


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "oxsean (via GitHub)" <gi...@apache.org>.
oxsean commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2577629076

   Spring Boot 3.0 builds on and requires Spring Framework 6


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw closed issue #15041: [Feature] spring5.3.39 cannot start in springboot3.2.5
URL: https://github.com/apache/dubbo/issues/15041


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2658194786

   > > I don't quite understand what you mean. Spring Boot 3 must dependency on Spring 6.
   > 
   > After I introduced dubbo, I couldn't start my project. My springboot version is 3.2.5, and I saw that the spring version of dubbo-config is 5.3.39, so I have questions about this: How to introduce dubbo dependencies in the springboot3 (spring6) environment?
   > 
   > my code:
   > 
   >       <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-autoconfigure-compatible</artifactId>
   >         <version>3.3.2</version>
   >       </dependency>
   >       <dependency>
   >         <groupId>org.apache.dubbo</groupId>
   >         <artifactId>dubbo-spring-boot-starter</artifactId>
   >         <version>3.3.2</version>
   >       </dependency>
   
   You can directly exclude spring-boot dependencies from dubbo


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] spring5.3.39 cannot start in springboot3.2.5 [dubbo]

Posted by "L1yp (via GitHub)" <gi...@apache.org>.
L1yp commented on issue #15041:
URL: https://github.com/apache/dubbo/issues/15041#issuecomment-2655359294

   > @oxsean Maybe need a spring boot3 dubbo bom ?
   
   阿里很多项目的spring依赖版本都没有用最新-_-||


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org