Eclipse 中将java project转为web项目 在Eclipse中打开“project properties",点中"Project Facets",并选中1、Dynamic web module2、java项目即可成为一个被WPT识别的web项目了。