🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.debugger
Article #5215

Re: HELP ! java.lang.NoClassDefFoundError during debugging session

#5215
From: David Orriss Jr
Date: Thu, 22 Oct 1998 00:00
58 lines
3215 bytes
Andreas

In article <362F1F23.6103EF84@hackenberg.de>,
  Andreas Meyer <am@hackenberg.de> wrote:
> Hi David,
>
> thank you very much for yor response. Below you can see a reduced piece of
code

 <<..snip..>>

> because the original code is to huge. But this simple Applet has the same >
> I have placed a breakpoint on 'System.out.println ("Opening ...")' and it
> worked so far. But when the debugger reaches the following line (***) i get
> the NoClassDefFoundError message. So debugging seems to work in general.
> But something must go wrong. You mentioned something about JRun jar files
which
> i don't understand. Please tell me more about it. Most of my jar files are
located

Sorry about that.. for some reason I goofed and mistakenly read a variable
into this that didn't exist.  JRun is a library for development of servlett
technology.  Please disregard the question.

OK.. I'll have to look into this a bit.  To be honest I avoid JDBC within
applets at all costs.  It still sounds like a library is not being properly
loaded when you start the debugger.  It *could* be that a JAR file that needs
certain information for debugging the JDBC connection simply doesn't have it.
Let me test it here based on the code you've provided and see if I can find
anything out.

Question: are you using both Datagateway *and* Interclient for this applet? 
If not, what happens when you remove the Datagateway references from the
project options and environment variables?


> P.S: I've forgotten to mention that i am using Netscape 4.06 with the Java
Plugin
> 1.1.1.
> I have copied all files in the redist directory to the Netscape java\classes
> directory.
>

Understood, but since the problem is also occuring in the Appletviewer for
JBuilder we need to start with the options and libraries being loaded for the
JBuilder project itself - then we'll go onto any potential issues with NS
4.06. I should mention right now tho, that I have read of compatibility
issues with the Java Plug-In and NS 4.06 (the two JVM's don't play well
together).  You might want to actually *downgrade* to 4.05 (sans JDK 1.1
compatibility patch) for best results.

Take care.

David Orriss Jr *TeamB*
http://www.davenet.net/

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <70nqrn$90f$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <362DEC3E.D7EBD16@hackenberg.de> <362fd664.4764871@forums.inprise.com> <362F1F23.6103EF84@hackenberg.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5c5,896be5901e4bedf9
X-Google-Attributes: gidff5c5,public
From: "David Orriss Jr" <davidorrissjr@hotmail.com>
Subject: Re: HELP ! java.lang.NoClassDefFoundError during debugging session
Date: 1998/10/22
Message-ID: <70nqrn$90f$1@nnrp1.dejanews.com>
X-Deja-AN: 403969674
References: <362DEC3E.D7EBD16@hackenberg.de> <362fd664.4764871@forums.inprise.com> <362F1F23.6103EF84@hackenberg.de>
X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 12.13.226.12
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Thu Oct 22 17:43:19 1998 GMT
Newsgroups: borland.public.jbuilder.debugger
X-Http-User-Agent: Mozilla/4.05 [en] (X11; I; HP-UX B.10.20 9000/889) via NetCache version 3.1.2cP1-Solaris