Spring 註解方式 Unexpected exception parsing XML document

正在學習 spring ,主要是經過 java3y 的列表來快速學習。java

看到這篇
https://segmentfault.com/a/11... 時,註解那段那裏,怎麼運行都有錯。提示:Unexpected exception parsing XML document from class path resourcespring

而後,上網再找了一下,https://blog.csdn.net/ckingha...,原來,還須要在 引入的 spring framework 中,加入 aop 這個 jar 包。segmentfault

這裏也記錄一下。後面會根據學習的狀況,出一個《手把手》版本,讓讀者看了一遍過。。畢竟大佬們的教程爲了簡化,仍是跳過一些細節,結果,有時候被這些細節絆倒很久。學習

相關文章
相關標籤/搜索