🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17872

Re: NoClassDefFoundError for borland/jbcl/layout/XYLayout

#17872
From: eboller
Date: Mon, 14 Sep 1998 00:00
53 lines
3335 bytes
OK, I figured out the problem, although I'm not sure why this is a problem. 
In my system classpath I put d:\jbuilder\myclasses in the path.  This causes
the problem where the XYLayout cannot be found.  If I take it out, the applet
works.	However, the problem is that I believe I need d:\jbuilder\myclasses
in the classpath.  I'll tell you why.  I'm trying to run an rmi server
locally. To start the server I need to start the server from the command
prompt: java rmi1.HelloWorldServerImpl

rmi1 is the package name and it is found off of d:\jbuilder\myclasses.	If I
don't have this directory in my classpath I cannot seem to get the server to
run.  I get a No class definition error on this.  I've tried running from
different directories including d:\jubilder\myclasses\rmi1.  What am I doing
wrong!	I'm not sure why java is this hokey.  It is really beginning to piss
me off that something so simple is this hard to get to run.  Maybe I'm the
only one having trouble, but I doubt it.  Anyway, if anyone can enlighten me
to what I could be doing wrong I would greatly appreciate it.  Thanks.

Eric Boller
Logistics Technology
eboller@cyberramp.net


In article <6tjl7l$b4m$1@nnrp1.dejanews.com>,
  eboller@cyberramp.net wrote:
> I am having a similar problem as one of the earlier posters on the
> NoClassDefFound Error.  Here is the stack trace from the java plug-in console:
>
> java.lang.NoClassDefFoundError: borland/jbcl/layout/XYLayout
> 	at rmi1.Applet1.<init>(Applet1.java:24)
> 	at java.lang.Class.newInstance(Native Method)
> 	at sun.applet.AppletPanel.createApplet(AppletPanel.java:459)
> 	at sun.applet.AppletPanel.runLoader(Compiled Code)
> 	at sun.applet.AppletPanel.run(Compiled Code)
> 	at java.lang.Thread.run(Compiled Code)
>
> I used the Deployment wizard to create a jar file and checked the boxes
> "include jbcl" and "include jgl".  I put the jar file in the same directory
> as the html file.  Last week this worked.  This week for some reason it does
> not seem to work.  I am using the jdk1.2beta3 in the plug-in.  This worked
> last week so I don't know why it shouldn't now.  Please let me know what the
> problem is or let me know if there is additional information that I can give
> to help come up with an answer.  Thanks.
>
> Eric Boller
> Logistics Technology
> eboller@cyberramp.net
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
>

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
Technical Details
Message-ID: <6tjt4n$l5l$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6tjl7l$b4m$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,58127d023711dd7f
X-Google-Attributes: gidf74b3,public
From: eboller@cyberramp.net
Subject: Re: NoClassDefFoundError for borland/jbcl/layout/XYLayout
Date: 1998/09/14
Message-ID: <6tjt4n$l5l$1@nnrp1.dejanews.com>
X-Deja-AN: 391085821
References: <6tjl7l$b4m$1@nnrp1.dejanews.com>
X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 207.158.116.142
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Mon Sep 14 20:08:56 1998 GMT
Newsgroups: borland.public.jbuilder.java.language
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)