我試了一下intelliJ的商業編輯器,彈簧mvc 3.0嘗試與春天3.0 MVC的IntelliJ,如何導入所需的庫?
它似乎已經將文件導入到lib中,但我想我錯過了一些東西。 我已經在我的下載文件夾中下載了spring 3.0,但是我沒有將它們導入到編輯器中,因爲它自動爲我設置了它。
註釋: @RequestMapping
沒有被拿起,所以我猜所需的庫不存在。
試圖導入這些庫似乎沒有工作,如何導入我新鮮的一組spring .jar的?
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
從哪裏可以做到這一點? – Blankman 2010-02-08 18:52:04
文件 - >項目結構。選擇模塊,在項目設置下,在左側,選擇依賴關係,添加... (使用版本8) – 2010-02-09 10:26:40