开发者

I can't get JMS example work with Eclipse

I'm using Eclipse and when I try to build the JMS example included in j2ee tutorial, it return a NullPo开发者_如何学CinterException at this: connection = connectionFactory.createConnection(); (I used the annotation @Resource(lookup = "jms/ConnectionFactory"), if I use jndi, it works fine). This example worked with in Netbeans. Can anyone help me to get it work with Eclipse?

P.S. Sorry for my bad English :(

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜