MyBatis configuration file reports an error: URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

  • When writing an XML configuration file to introduce DTD constraints, this error message may appear that URI is not registered (Settings | Languages ​​& Frameworks | Schemas and DTDs). At this time, use the shortcut key and select the Fetch external resource option.

  • Or directly add the path to the problem in settings-> languages ​​& frameworks-> schemas and dtds

  • The picture is a bit problematic . If the second option Ignore (ignore external resources) does not work, please try the first option Fetch external resource (get external resources)

    If the option is Ignore external resource, the resource path will appear in the list below

    If the option is Fetch external resource, the resource path will appear in the above list (location can be found)

ps: I deleted the external resource and tried to take a screenshot again, but it was also found that the deletion was also a problem. ctrl + mouse placed on the resource path and found that this location is already in my local warehouse (mybatis resource coordinate file). . .

Guess you like

Origin www.cnblogs.com/Rainbow-sea/p/12728360.html