github下载demo
官网教程:https://enroute.osgi.org/tutorial/020-tutorial_qs.html
创建自己的demo
osgi Quick Start
参考文章:https://www.cnblogs.com/skyxia/p/10264296.html
这个在:
osgi.enroute\examples\quickstart\rest\src\main\java\org\osgi\enroute\examples\quickstart\rest里面在第一步的github下载demo里面
idea创建demo:
参考:https://blog.youkuaiyun.com/love_taylor/article/details/75194394
细节:
2020版idea和参考的有点不一样,但是还是好弄
类名不要写错就可以了
跟tomcat一样,就是选个容器来运行,这里要运行的叫bunlde,tomcat叫artifact我个人理解
这里查看bundle命令不知道,help可以看所有命令但是没发现,bundle看了全部的,然后查你项目名字吧