Attribute "alisa" must be declared for element type "typeAlias".

學習mybatis,剛開始寫配置文件mybatis-config.xml的時候,,最上面直接複製粘貼 alisa 報錯:Attribute "alisa" must be declared for element type "typeAlias" 解決方法:將config改爲Mapper: 改後錯誤提示消失 更正一下:這麼改錯誤提示是消失了,,但在接下來的測試代碼不好用。。。 新的改正方法: 原有
相關文章
相關標籤/搜索