我最近从CVS checkout 了一个项目。我得到一个错误:
nl cannot be resolved to a variable.
其他员工在他们的项目中不会遇到此错误。我认为这与配置有关。
String captchaTextInServer = (String)request.getSession()
.getAttribute(
nl.captcha.servlet.Constants.SIMPLE_CAPCHA_SESSION_KEY);
我的Eclipse:Marse 2.0
jack 1.6
Tomcat :6.0.37
谢谢你的帮助。
最佳答案
该错误是由于jar文件之一引起的。
应该将一个Class jar文件添加到classpath中。
关于eclipse - 无法解析为 eclipse 中的变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40119406/