1.今天在开发过程中,ibatis的sql.xml中突然出现了以下错误
Description Resource Path Location Type Referenced file contains errors (http://ibatis.apache.org/dtd/sql-map-2.dtd). For more information, right click on the message in the Problems View and select "Show Details..." SITE_LIST_PRODUCT_SPEC_SqlMap.xml /HCManag/src/com/ebiz/site/siteproduct/api/dao line 1 XML Problem
这说明xml的验证在进行"http://ibatis.apache.org/dtd/sql-map-2.dtd"验证时失效了,
由于这些验证不影响到项目的运行,所以解决方法如下
1.在eclipse的首选项中进行以下的设置
2.将http://ibatis.apache.org/dtd/sql-map-2.dtd下载到本地,然后将该文件放到项目的工作目录中,然后通过eclipse的本地dtd文件验证,进行操作,有以下步骤,点击
点击add
出现location:中添加本地的dtd文件,然后key使用-//ibatis.apache.org//DTD SQL Map 2.0//EN,确定完成后,你再clean你的项目,这样,错误就消失了。
原理就是通过本地的dtd语法验证,而不再通过http://ibatis.apache.org/dtd/sql-map-2.dtd进行获取,
希望以上内容对你有所帮助,谢谢。
相关推荐
./sqlmap.py –h //查看帮助信息 ./sqlmap.py –u “http://www.anti-x.net/inject.asp?id=injecthere” //get注入 ./sqlmap.py –u “http://www.anti-x.net/inject.asp?id=injecthere” --data “DATA”//post...
SqlMap.xsd SqlMap.xsd
burpsuite 插件 sqlmap.jar
./sqlmap.py -u http://www.evil0x.com/ test.php?p=2 -f -b –current-user –current-db –users –passwords –dbs -v 0 2. ./sqlmap.py -u http://www.evil0x.com/ test.php?p=2 -b –passwords -U root –union...
用python命令直接打开sqlmap.py文件,即可运行,这是强大的渗透测试工具,sql注入初学必备。
ibatis-sqlmap ibatis-sqlmap-2 ibatis-sqlmap-2.jar.zip
[Build Status](https://api.travis-ci.org/sqlmapproject/sqlmap.svg?branch=master)](https://travis-ci.org/sqlmapproject/sqlmap) [![Python 2.6|2.7|3.x](https://img.shields.io/badge/python-2.6|2.7|3.x-...
SqlMap.config
本压缩包中含有python2.7.17和sqlmap,亲测可用。sqlmap是一个开源的渗透测试工具,可以用来进行自动化检测,利用SQL注入漏洞,获取数据库服务器的权限。它具有功能强大的检测引擎,针对各种不同类型数据库的渗透测试...
访问SQLMAP的官方网站http://www.sqlmap.org可以获得SQLMAP更为详细的介绍,如它的多项特性,最为突出的是SQLMAP完美支持MySQL、Oracle、PostgreSQL、MS-SQL与Access等各种数据库的SQL侦测和注入,同时可以进行六...
ibatis-sqlmap_2.3.4.jar 和 ibatis-sqlmap_2.jar 两个jar包的下载
SQLmap压缩包
1.每个实体类需要配置各自的“SqlMap.config”在“config/SysConfig.xml”中,SqlMap,db1.Db1SqlMap就是“ibatis/db1/Db1SqlMap.config”,不同的db将分配不同的mapper类。 2.数据库链接统一放在“config/ibatis/...
import com.ibatis.sqlmap.client.SqlMapClient; public class Main { public static void main(String[] a) throws Exception { Util util = new Util(); util .executeSQLCommand("create table ...
SQLMAP安装工具(含:SQLMAP+Python2.7.15);以下是参考资料 sqlmap防注入软件安装: ...sqlmap防注入案例: ...sqlmap基本用法: ...Sqlmap.py -u http://www.bible-history.com/subcat.php?id=2 --tables