http://www.cnblogs.com/kaige123/p/5866446.html
在项目上点击右键,进入Properties配置,点击Project Facets,再点击Convert to faceted form进入属性设置: