myEclipse外掛程式菜單 add hibernate capabilities 停用解決辦法

來源:互聯網
上載者:User

原創:cin 地址:http://hi.baidu.com/cin_ie/blog/item/6aeb4e8bea79f814c9fc7a0e.html 用myEclipse搭建hibernate架構後,有時搞亂了某些東西後,又想重新載入Hibernate包,但此時 add hibernate capabilities 功能菜單竟然沒有了,或者是灰色的,不可用,尤其是初學的朋友往往要重建web項目,一切都要重新來過。 其實大可不必這麼做。有個簡單的方法可以解決這個問題: 切換到java的導航試圖,在項目的根目錄下又個項目設定檔:".project",開啟後,一般在最下方有: com.genuitec.eclipse.hibernate.hibernatenature com.genuitec.eclipse.j2eedt.core.webnature org.eclipse.jdt.core.javanature 把 hibernate相關項目刪除,儲存。然後選中項目,在進行add hibernate capabilities 操作,即可正常!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.