zrlw commented on issue #15674:
URL: https://github.com/apache/dubbo/issues/15674#issuecomment-3264502614

   > 
是的,同样的问题。不使用spring,单纯手动引入dubbo的场景下,直接运行是没有问题的,但是一旦执行native编译就会出现提示spring类缺失,我认为dubbo-native不应该强引用spring的相关类。或者换句话是,it
 should be a standalone component,for normal java project
   
   if you mean you take ```native:compile``` in your build script such as ``` 
mvn clean install -P native native:compile -Dmaven.test.skip=true```, it will 
use ```Springboot3``` integration compile mode.
   refer to 
https://cn.dubbo.apache.org/zh-cn/blog/2023/06/28/%E8%B5%B0%E5%90%91-native-%E5%8C%96springdubbo-aot-%E6%8A%80%E6%9C%AF%E7%A4%BA%E4%BE%8B%E4%B8%8E%E5%8E%9F%E7%90%86%E8%AE%B2%E8%A7%A3/
   


-- 
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-unsubscr...@dubbo.apache.org

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


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

Reply via email to