Redian新闻
>
问一个spring dynamic module/OSGi的问题
avatar
问一个spring dynamic module/OSGi的问题# Java - 爪哇娇娃
n*9
1
最近一位朋友在闹离婚,但已经上交I140和I485的申请了。请问哪位朋友知道这种情况
下,如果他们离婚的话,是否对I140的批准有影响呀? 多谢了,
avatar
y*e
2
请问怎么能include一个bundle,而这个bundle只有data modle的。其实就是这个
bundle有SOAP的contract bean的定义。我想要用这些contract bean,怎么能把它
include到我的project里面来呢?现在是我可以编译通过,但是因为deploy的时候没有
这个bundle,就会报dependency的错。而那个bundle的jar file根本就不在最后的包里
面。
avatar
l*i
3
"朋友"...

【在 n***9 的大作中提到】
: 最近一位朋友在闹离婚,但已经上交I140和I485的申请了。请问哪位朋友知道这种情况
: 下,如果他们离婚的话,是否对I140的批准有影响呀? 多谢了,

avatar
b*i
4
你什么工具?Eclipse?Export?
自己把bundle的jar放进去不行吗?

【在 y****e 的大作中提到】
: 请问怎么能include一个bundle,而这个bundle只有data modle的。其实就是这个
: bundle有SOAP的contract bean的定义。我想要用这些contract bean,怎么能把它
: include到我的project里面来呢?现在是我可以编译通过,但是因为deploy的时候没有
: 这个bundle,就会报dependency的错。而那个bundle的jar file根本就不在最后的包里
: 面。

avatar
c*u
5
hehe

"朋友"...

【在 l*****i 的大作中提到】
: "朋友"...
avatar
x*d
6
not sure what you are asking, are you saying your bundle can't be installed
into the container? what container you are using?
avatar
y*e
7
container用的Felix,用spring DM设置,我不知道怎么把这个只有data的jar加进去。
比如象这个在在bundle-context-osgi.xml中:

还有这个POM中的

org.springframework.aop
org.springframework.aop.framework
org.springframework.jdbc.core

都是做什么的啊?我想加的bundle因为只是contract data bean,不知道怎么配置才好。

installed

【在 x****d 的大作中提到】
: not sure what you are asking, are you saying your bundle can't be installed
: into the container? what container you are using?

avatar
y*e
8
我仔细检查了一下,还真的是你说的这个问题。我们用的是Felix,不过是用maven做了
个distribution的包,要把需要的jar file include进去。其实就是你说的把bundle的
jar放进去,只不多是让maven来做的。我对这个软件还不太熟,所以搞糊涂了。
谢谢楼上两位的热心回答。

【在 b***i 的大作中提到】
: 你什么工具?Eclipse?Export?
: 自己把bundle的jar放进去不行吗?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。