http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd 報紅

現象 在 idea 中使用 mybatis-generator,配置文件頭部 文檔類型定義報紅 解決方法 點開 Settings —— Languages & Frameworks —— Schemas and DTDs,如下圖 添加一個外部資源映射 Map External Resource,如下圖 3. 具體配置,File 指定你的 jar 包中的 dtd 文檔即可 key value URI
相關文章
相關標籤/搜索