在右鍵項目Update Project之後
報錯:
One or more constraints have not been satisfied.
Spring 4.1 requires Java 1.6 or newer.
解決問題:
The solution is I have to goto to the ".settings" folder which is at the project location and deleted "org.eclipse.wst.common.project.facet.core.xml" file and restarted the process again. This time it worked
這個從網上照的一個辦法,比較好用,有作用。
就是删除掉.setting檔案下的這個檔案。然後将項目從MyEcplise中删掉,再Import進去,然後,發現項目不能被Tomcat識别了。
然後右鍵項目-->properties-->myEcplise下面的-->project Facts 将項目的web版本,java版本,hibernate版本等一并都選擇好,再回來項目就好了。