解决方法:
1. 右键单击工程项目 ->点击 properties2. 选择 Deployment Assembly3. 点击 Add -> Java Build Path Entries -> Next4. 选择 Maven Dependencies -> Finish -> Apply -> OK5. Clean project and server. 重启server