DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5506>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5506 NoSuchMethodError (apparently on) getServletContext().setAttribute() [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2001-12-19 05:49 ------- I am using the servlet.jar that came with the Tomcat 4-0-1 distibution. This contains the Interface ServletContext. This is implemented in the distribution by org.apache.catalina.core.ApplicationContext. I have tried compiling StandardContext.java and get this error: (essentially the same thing, I think) StandardContext.java:3919: cannot resolve symbol symbol : method setAttribute (java.lang.String,java.io.File) location: interface javax.servlet.ServletContext getServletContext().setAttribute(Globals.WORK_DIR_ATTR, dir); I HAVE checked the classpath (several times) and even compiled ApplicationContext.java into the same directory and updated the classpath (no difference) I also tried casting the second parameter to Object (no difference). I have this version of Java: F:\jakarta-tomcat-4.0.1\common\lib>d:\jdk1.3\bin\java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) Barry A Byrne -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
