>Number: 4764 >Category: mod_jserv >Synopsis: compile error while building jserv >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Jul 25 16:30:00 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: apache 1.3.6 + JServ 1.0 >Environment: RedHat Linux 6.0, jdk117v3, jsdk2.0. I have everything installed in thier own respective dirs in /usr/local/ >Description: compiler reports: class JServDefs not found in class org.apache.jserv.JServ public class JServ extends HttpServlet implements JServLogChannels, JServDefs {
The first time I got this error, I just appended the JServDefs.java file to the JServ.java file and it worked (I know this is a gnarly hack). Upon further inspection, I noticed that all the .java files in this dir had a corresponding .class file and for JServDefs there were only a .java file and a .in file (?) I compiled JServDefs ('javac JServDefs.java') and then built jserv again without errors. In between my two attempts I nuked the src dir., so my first hack was nuked and didn't play a part in the second success. >How-To-Repeat: >Fix: It seems that maybe the install script misses compiling this file and leaves the JServDefs.in file around as eveidence that it didn't complete it's job? >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]