the import javax.jms cannot be resolved问题

JDK中并没有javax.jms包,你需要一个JMS实现(比如:activemq),并确认相应的jar被包含在CLASSPATH中。

http://activemq.apache.org/

5.5.0:
记得把activemq-all-5.5.0.jar放到你的CLASSPATH中,就可以了。

猜你喜欢

转载自www.cnblogs.com/manmanchanglu/p/11674975.html