eclipse项目按右键刷新时总弹出这个错误
An internal error occurred during: "Loading descriptor for cmbc_wms.".java.lang.NullPointerException
An internal error occurred during: "Loading descriptor for cmbc_wms.".
java.net.UnknownHostException: java.sun.com --------------------编程问答-------------------- http://containsoft.iteye.com/blog/1124146 --------------------编程问答-------------------- 楼上的方法我试过不行 --------------------编程问答-------------------- 可能你的项目是别人低版本的开发环境中导入进来的吧。
你这样吧,在你自己的eclipse开发工具中新建一个项目,然后用拷贝的形式吧。 --------------------编程问答-------------------- 不行,之前也试过了,新建一个工程,然后以文件的形式导进来还是同样的问题. --------------------编程问答-------------------- The problem is not the taglib at all, it's just a bad error description by Eclipse.it is the project facet vs. web.xml dtd.. their versions must match!if the web.xml says:<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">but the project has a "Dynamic Web Module 2.5"then this error will occur.. change facet to 2.3 or web.xml to 2.5... in other words: they must match.. --------------------编程问答-------------------- 拷贝来的,看解释很有道理,测试一下吧 --------------------编程问答-------------------- 亲~~~恭喜你!
遇到一样的问题
你只需要把 出问题的那段先剪切后保存 再撵回去保存!
补充:Java , Java EE