零零星星大概花了四個小時來改,整個過程十分坎坷,差點我就放棄了,介紹一下我遇到的錯誤和問題吧:首先是版本問題我用的是Hibernate-5.x很多地方和老師的都不一樣,盡管如此我還是做了出來。測試的時候就不行了,一些莫名的錯誤,改啊改最終還是沒有改對。無奈刪除jar包,重新配置Hibernate-4.3.測試的時候又是一堆錯誤, 這次是jdk的問題,好死不死的使用360升級了jdk8,結果報錯是jdk編譯與運行的jdk不相符,無奈刪jdk重配環境變量。最后感謝@bitamin,看了他的評論改了一個錯誤。
2017-09-11
HTTP Status 404 - There is no Action mapped for namespace [/users] and action name [Users_login] associated with context path [/imooc_sh].
type Status report
message There is no Action mapped for namespace [/users] and action name [Users_login] associated with context path [/imooc_sh].
type Status report
message There is no Action mapped for namespace [/users] and action name [Users_login] associated with context path [/imooc_sh].
白學了 居然沒想到要加 <result name="input">/users/Users_login.jsp</result>
2017-08-14