在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Java/ 在Idea中創(chuàng)建XML文件,發(fā)現(xiàn)"URI is not registe

在Idea中創(chuàng)建XML文件,發(fā)現(xiàn)"URI is not registered",出現(xiàn)此提示的原因是什么?

在Idea中創(chuàng)建XML文件,發(fā)現(xiàn)"URI is not registered",出現(xiàn)此提示的原因是什么?
是開發(fā)工具的原因還是其他的原因?(不是問解決方法,已經(jīng)解決了,只是不知道為什么會有這種提示)

創(chuàng)建generatorConfig.xml文件,然后導入內(nèi)容,發(fā)現(xiàn)"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">變紅了,

圖片描述

解決方法:按照提示,在File -> Settings ...Schemas and DTDs中將"
http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"復制進去即可

圖片描述

回答
編輯回答
久礙你
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
        PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
        "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">

<generatorConfiguration>
    <classPathEntry location="/Program Files/IBM/SQLLIB/java/db2java.zip" />
</generatorConfiguration>

這個是官網(wǎng)的寫法,鏈接如下:http://www.mybatis.org/genera...

2018年1月14日 15:24