Eclipse for java EE 3.4.1 进行JSP开发,J2SDK和Apache Tomcat已经配置完毕,Eclipse没有进行任何配置。 DispMaster dispmaster = new DispMaster();
dispmaster.setUserName(userName);
Master master = dispmaster.nameToMaster();错误:
Master cannot be resolved to a type同时还有其它很多错误:
Description Resource Path Location Type
Arith cannot be resolved forecast.jsp CaiWu/WebContent line 1729 JSP Problem请问如何解决??
dispmaster.setUserName(userName);
Master master = dispmaster.nameToMaster();错误:
Master cannot be resolved to a type同时还有其它很多错误:
Description Resource Path Location Type
Arith cannot be resolved forecast.jsp CaiWu/WebContent line 1729 JSP Problem请问如何解决??
----------------------------------------
List cannot be resolved to a type
没被引入呗!!-----------------------------------------
MYEclipse里面有J2EE5.0
估计根你部署的JDK有关哦!
Java SE Development Kit (JDK) 6 Update 10
在jsp代码最前头加入<%@page import="你用到的类所在的包"%>
Master 是哪个类包啊??工程目录下根本没有定义这个类啊。
可能是还没编译,
或者编译出错就会出现上面的错误
你修改java类文件之后有没有
之后选择run->run aseclipse里面是保存就编译好了的..不用run 的我重启了电脑试试,要是上面我说的情况这样就没事了