经常有莫名其妙的错误提示,而且有时候是明明昨天还用的好好的一个Web Module,关机前也没错
今天一开机就会报个错误比如我从书上拷贝的示例代码
index.jsp<%@ include file="taglibs.jsp" %>
<%@ include file="header.jsp" %>
<%@ include file="indexContent.jsp" %>
<%@ include file="footer.jsp" %>今天就会报个错了:
The return type is incompatible with JspSourceDependent.getDependants()一般有时候删除工程再重建会有用,但大多数时候没用救命呀!

解决方案 »

  1.   

    我开了两个Eclipse,一样的J2EE项目配置,一个就没错,一个就有错(项目不同,但我把对的一个的index.jsp代码COPY到那个有错的index里,还是The return type is incompatible with JspSourceDependent.getDependants())救急!!
      

  2.   

    晕!就这么多信息好提供了啊!莫名其妙的错误在编辑JSP页面的状态下第一行左边出现一个红色叉叉,鼠标停留在上面出现提示:The return type is incompatible with JspSourceDependent.getDependants()但是奇怪的是部署了照样运行
    但是每个JSP页面带个小红叉叉多难看啊!
      

  3.   

    天理难容!我刚才正在编写一个JSP文件,保存,然后走开了5分钟
    回来一看The return type is incompatible with JspSourceDependent.getDependants()这个讨厌的红叉又出现了!我晕!