rebuild不行,mvn clean不行
最后觉得是maven下载的东西有问题,把报错的class对应的jar找出来(给小白的提示:在intelliJ很方便,可以右键->show in explorer,就能找到),然后删掉,让maven重新下载即可
Find the jar contains current class on file system, delete it ,then run maven build, so maven will download it again. That was how I solve the problem.
网友评论