Results 1 to 8 of 8

Thread: Simple: why won't it compile?

  1. #1

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935

    Simple: why won't it compile?

    The error:
    "Utilities.java": Error #: 302 : cannot access class org.apache.tomcat.facade.HttpServletRequestFacade; neither class nor source found for org.apache.tomcat.facade.HttpServletRequestFacade at line 24, column 38
    Code:
        public static void echoToSystemOut(
                org.apache.tomcat.facade.HttpServletRequestFacade request, String s)
    But my classpath:
    d:\programs\tomcat\lib\container\facade22.jar;d:\programs\tomcat\lib\container
    And in that directory:
    Code:
    D:\Programs\Tomcat\lib\container\org\apache\tomcat\facade>dir
     Volume in drive D is Documents and Programs
     Volume Serial Number is 7449-9484
    
     Directory of D:\Programs\Tomcat\lib\container\org\apache\tomcat\facade
    
    12/28/2001  05:46p      <DIR>          .
    12/28/2001  05:46p      <DIR>          ..
    10/21/2001  12:35p               1,460 CookieFacade.class
    10/21/2001  12:35p               9,512 HttpServletRequestFacade.class
    10/21/2001  12:35p               7,337 HttpServletResponseFacade.class
    10/21/2001  12:35p               3,656 HttpSessionFacade.class
    10/21/2001  12:35p               9,422 JasperLiaison.class
    10/21/2001  12:35p               7,668 JspInterceptor.class
    10/21/2001  12:35p               1,052 JspPrecompileH.class
    10/21/2001  12:35p               3,763 LoadOnStartupInterceptor.class
    10/21/2001  12:35p                 993 RequestDispatcherImpl$RDIAction.class
    10/21/2001  12:35p               7,126 RequestDispatcherImpl.class
    10/21/2001  12:35p                 730 ResourceCollection.class
    10/21/2001  12:35p               1,369 SCAction.class
    10/21/2001  12:35p                 978 SecurityConstraint.class
    10/21/2001  12:35p               4,146 Servlet22Interceptor.class
    10/21/2001  12:35p                 908 ServletConfigImpl.class
    10/21/2001  12:35p               4,658 ServletContextFacade.class
    10/21/2001  12:35p               8,203 ServletHandler.class
    10/21/2001  12:35p               4,523 ServletInfo.class
    10/21/2001  12:35p               1,809 ServletInputStreamFacade.class
    10/21/2001  12:35p               1,221 ServletOutputStreamFacade.class
    10/21/2001  12:35p                 898 ServletWriterFacade.class
    10/21/2001  12:35p                 448 SessionContextImpl.class
    10/21/2001  12:35p               1,349 TagPoolManagerInterceptor.class
    10/21/2001  12:35p                 875 WebXmlReader$1.class
    10/21/2001  12:35p                 836 WebXmlReader$2.class
    10/21/2001  12:35p                 831 WebXmlReader$3.class
    10/21/2001  12:35p               1,035 WebXmlReader$4.class
    10/21/2001  12:35p                 837 WebXmlReader$5.class
    10/21/2001  12:35p                 837 WebXmlReader$6.class
    10/21/2001  12:35p               1,338 WebXmlReader$WebXmlErrorHandler.class
    10/21/2001  12:35p               8,109 WebXmlReader.class
                  31 File(s)         97,927 bytes
                   2 Dir(s)  13,823,926,272 bytes free

  2. #2

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    *bumps* are usually done out of desperation...

  3. #3

  4. #4

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    No, you ask yourself "Why the hell won't the freakin' damned [harsh profanities] compile, dammit!"

  5. #5

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Here's the progress in the Java forums at Sun: http://forums.java.sun.com/thread.js...&thread=204695

    Not much progress.

  6. #6
    Member
    Join Date
    Nov 2001
    Posts
    41

    if let me say a word...

    just drop by here and see u guys' complaint...

    the only reason I think here is still ur path. Are you sure you have added that libary jar file to your project perperties-path-required libary? if so, and if your jar file did exist there, then your Jbuilder worked badly.......maybe you should fix it first??

  7. #7

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    I added both the jar and the extracted files from the jar with the pathnames intact and refereced the jar as a library in JBuilder's project properties but no luck.


  8. #8
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    You know, it still could be a burp in the IDE. If you haven't already tried it, I'd fire up a cmd.exe and set
    CLASSPATH=d:\programs\tomcat\lib\container\facade22.jar;d:\programs\tomcat\lib\container;etc...
    and \jdk\bin\javac TheClassInQuestion.java
    Just to see if the same error occurs.

    cudabean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width