The type org.springframework.jms.JmsException cannot be resolved报错解决

在调用JmsTemplate的send方法时,一直报编译时异常。如下:

异常提示是无法解析org.SpringFrawork.jms.JmsException类型。如下:

The type org.springframework.jms.JmsException cannot be resolved. It is indirectly referenced from required .class files

使用了一个简单粗暴的做法:

  1、删掉maven下面的所有包

  2、重现maven->update Project

  

猜你喜欢

转载自www.cnblogs.com/xuwenjin/p/8951869.html
今日推荐