事由:近日公司要在项目增加个发送邮件的功能,本来弄好了,今天突然一下引入依赖不能用了,导致项目启动不起来,网上查了好多信息,发现有不同的原因,但是和我这个不太符合。(查看下面maven依赖报错),说明是包的问题。
解决方法,到你的maven仓库找到对应的出错包,把他全部删掉,到idea中把引入的依赖删掉、保存 ,然后再撤销重新导入依赖就可以了,不行的话重启一下idea,好了,到此就完美解决了
事由:近日公司要在项目增加个发送邮件的功能,本来弄好了,今天突然一下引入依赖不能用了,导致项目启动不起来,网上查了好多信息,发现有不同的原因,但是和我这个不太符合。(查看下面maven依赖报错),说明是包的问题。
解决方法,到你的maven仓库找到对应的出错包,把他全部删掉,到idea中把引入的依赖删掉、保存 ,然后再撤销重新导入依赖就可以了,不行的话重启一下idea,好了,到此就完美解决了