首页 > 编程语言 > 详细

Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd).

时间:2015-05-24 17:29:44      阅读:4533      评论:0      收藏:0      [点我收藏+]

项目导入后,一个tld文件提示以下错误:

Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd). For more information, right click on the message in the Problems View and select “Show Details…” auth.tld /ROOT/src/main/webapp/WEB-INF line 1 XML Problem
如图:
技术分享

解决办法:

将其中的“j2ee”都改为“javaee”就可以了。

<?xml version="1.0" encoding="UTF-8" ?>

<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
        http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_4.xsd"
        version="2.4">

有文章指出必须固定为五行,我倒是没有发现此问题。

Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd).

原文:http://blog.csdn.net/testcs_dn/article/details/45952775

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!