URI未在applicationContext.xml中注册(设置|语言和框架|模式和DTD) [英] URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) in applicationContext.xml

查看:3511
本文介绍了URI未在applicationContext.xml中注册(设置|语言和框架|模式和DTD)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 WEB-INF / classes 目录中创建了一个应用程序Context.xml。
我在xml中添加了<!DOCTYPE> 。我收到以下错误:

I created an application Context.xml at the WEB-INF/classes directory. and I have added the <!DOCTYPE> in the xml. I am getting the below error:


URI未注册(设置|语言和框架|架构和DTD)

URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

您可以在下面看到快照:

You can see the snapshot below:

xml如下:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">  // -> there comes the issue
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

</beans>


推荐答案

您可以通过以下方式轻松解决:获取外部资源。

You can easy solve it by: Fetch external resource.

点击灯(你的红色) - >获取外部资源。

Click the light(your is red) -> Fetch external resource.

这篇关于URI未在applicationContext.xml中注册(设置|语言和框架|模式和DTD)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆