当我们使用本地tomcat启动的时候,要确定artifact 的type是使用的web application :exploded类型,使用javaee application :exploded就会报这个错误.