右边侧边栏clean一下,target目录删掉了。或是手动删掉了。再建。 跑一下 Tomcat. target自动生成。 就这样。:) 转载于:https://www.cnblogs.com/shiyuzhahan/p/10692301.html