关于Mybatis Generator配置爆红问题
问题截图:

两种解决方案:
一.
ALT+ENTER然后Fetch external resource获取外部资源
二.如果上面那种方式无效,可采取下面的终极解决方案
搜索爆红的网址
http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd
下载文件
然后在idea中
File->setting->Schemas and DTDS 新建


URL:http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd
File:文件路径
然后OK再OK,回到项目中,爆红消失

当遇到MybatisGenerator配置文件报红时,可以尝试两种解决方案:一是使用IDEA的Fetch external resource功能;二是手动下载缺失的DTD文件,通过File->Settings->Schemas and DTDs进行配置。完成上述步骤后,爆红问题通常能够得到解决。
2166

被折叠的 条评论
为什么被折叠?



