DWR 警告: Deprecated public id in dwr.xml. Use: <DOCTYPE dwr PUBLIC "//GetAhead Limi
警告: Deprecated public id in dwr.xml. Use: <!DOCTYPE dwr PUBLIC "-//GetAhead Limi
如下警告:
警告: Deprecated public id in dwr.xml. Use: <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "">
消灭该警告的方法:
找到引用的dwr.jar包,用winrar打开,然后将里边的org/directwebremoting/dwr.xml头文件内容(*表示版本号,如*.*表示3.0或2.0或1.0
**表示30或20或10)
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting *.*//EN" "**.dtd">
更改为:
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "">
其实就是域名问题,找不到了dtd当然报警告错误了。