1 Reply Latest reply on Nov 14, 2003 9:28 PM by jonlee

    Unable to compile class for JSP

    andonny

      All the files are located at:
      http://members.westnet.com.au/walterje/java/q.html

      Hi,
      I am having trouble to get http://members.westnet.com.au/walterje/java/test.zip to work. I go to school and it works fine there.
      When I try to run it on a different PC (Win98 or XP) I get this http://members.westnet.com.au/walterje/java/error_message.html

      I installed j2sdk-1_4_1_01-windows-i586.exe in c:\jdk and jakarta-tomcat-5.0.12.exe in c:\Tomcat.
      Then I placed the code from try.zip into the webapps directory.

      The database http://members.westnet.com.au/walterje/java/Cds.mdb, is in c:\Temp. I have been trying to solve this problem for days but no luck.



      I appreciate your help
      Andonny

        • 1. Re: Unable to compile class for JSP
          jonlee

          Your zip did not preserve the case. You have things in uppercase such as CLASSES/QUERY. Since all things Java are case-sensitive, it is having trouble with locating key components.

          For example, trying to find WEB-INF/classes/query/SongQuery.class when importing query.SongQuery is going to barf because the zip you have has WEB-INF/CLASSES/QUERY/SongQuery.class.

          Fix the naming might get you closer to a working system.