只需要在工程上右键,”Add Frameworks support...“,然后选择Maven即可 转载于:https://www.cnblogs.com/qiang-cnblog/p/9802483.html