在用maven搭建ssh的时候报了这个错,经过谷歌解决了,一下是直接复制的原文
- Open the project’s properties (e.g., right-click on the project’s name in the project explorer and select “Properties”).
- Select “Deployment Assembly”.
- Click the “Add…” button on the right margin.
- Select “Java Build Path Entries” from the menu of Directive Type and click “Next”.
- Select “Maven Dependencies” from the Java Build Path Entries menu and click “Finish”.
You should see “Maven Dependencies” added to the Web Deployment Assembly definition.