右击当前项目–>Java EE Tools–>Generate Deployment Descriptor–>Stub
复制于:https://blog.csdn.net/qq_30864125/article/details/106501955