Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: java.lang.NoClassDefFoundError: com/borland/dx/dataset/DataSet

145 views
Skip to first unread message
Message has been deleted

Kevin Dean [TeamB]

unread,
Jun 22, 2007, 9:16:50 AM6/22/07
to
Ruben Sol wrote:

>Why I get "java.lang.NoClassDefFoundError: com/borland/dx/dataset/DataSet"
>when running an Applet in a web browser?
>
>A jar file "Including all classes and resources" is being produced and
>placed at the same location of the Applet.html file.
>
>The applet runs fine within JBuilder's 2006 IDE when clicking on the
>Applet.html.
>
>Help is very appreciated!

You're better off including the dx.jar distributable as a JAR in the
applet definition. It's generally not a good idea to bundle everything
into a single JAR, for two reasons:

1) Since library JARs seldom change, the browser or applet plug-in can
cache the individual JAR files, reducing download time when you change
your application.

2) Including all dependencies in a JAR file doesn't detect indirect
dependencies acquired through reflection, resulting in incomplete JAR files.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html

0 new messages