eclipse项目导入之后的出现问题
此项目在别的机器上正常运行,现导入之后没有红叉,tomcat正常启动,IE键入正确的路径,显示登录画面也正常,但是就是无法登录,请高手帮助
Error compiling file: E:\eclipse\workspace\OnlineSys\work\org\apache\jsp\Interface_jsp\admin\memberSys\/handle_jsp.java [javac] Compiling 1 source file
E:\eclipse\workspace\OnlineSys\work\org\apache\jsp\Interface_jsp\admin\memberSys\handle_jsp.java:42: package onlineSys.memberSys does not exist
onlineSys.memberSys.ManageMember ManageMember = null;
Exception:
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:310)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.service
.............
[解决办法]
handle_jsp.java:42: package onlineSys.memberSys does not exist
////////////
handle.jsp在编译 时找不到包onlineSys.memberSys,你确定你的类onlineSys.memberSys.ManageMember存在吗?没有红叉并不表示没有错误,只是隐藏了.
[解决办法]
导入项目以后记着检查一下源文件目录设置是否丢失了。去项目属性里重新设置一下
另外还要确定所有的external jar在别的机器上都存在