Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 99448 invoked from network); 6 Feb 2002 03:07:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 03:07:58 -0000 Received: (qmail 11746 invoked by uid 97); 6 Feb 2002 03:07:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 11716 invoked by uid 97); 6 Feb 2002 03:07:36 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 11702 invoked from network); 6 Feb 2002 03:07:36 -0000 Sender: ijcd@ianduggan.net Message-ID: <3C609DC0.8332139B@ianduggan.net> Date: Tue, 05 Feb 2002 19:06:40 -0800 From: Ian Duggan X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9 i686) X-Accept-Language: en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to force Tomcat to compile? References: <88500E0F870AA542B6340D8BC05A9E1B96F7@rup.hugsmidjan.is> <01d501c1ae7e$44332780$5801a8c0@hal> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > my JSPs use some Java-Classes. This Java-Classes are positioned in > WEB-INF/classes. > Normally Tomcat compiles this classes by his own. > But if I do some changes in *.java, Tomcat doesn't check, that *.java has > changed and doesn't recompile. > That's the problem. > > To found a solution, I have compiled the changed *.java with javac. The > compilation runs without problems. > > Then, when I run my application I get a ClassDefNotFoundError. Tomcat don't > want my self-compiled *.class I'm confused. I don't think I've ever heard of Tomcat autocompiling .java files for you under the /classes directory. Surely this can't be the case? I'm pretty sure that those have to be compiled manually, and that Tomcat notices the updated .class file from your hand compilation if you have set "reloadable=true" in the servlet context. For .jsp pages, natuarally Tomcat has to compile those automatically. Someone please enlighten me if I'm incorrect. -- Ian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Duggan ian@ianduggan.net http://www.ianduggan.net -- To unsubscribe: For additional commands: Troubles with the list: