Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » ClassNotFoundException when two classes are defined in the same java file
ClassNotFoundException when two classes are defined in the same java file [message #32564] Wed, 15 July 2009 16:20 Go to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,
When I have two classes defined in the same java file and I try to run
the MIDlet in the emulator, I am getting a ClassNotFoundException. The
emulator does not find the second class in the file. I looked at the
generated jar file and the .class is not there. It's like only the .class
files that coincide with the .java files names are added. If I remove the
class definition from the file and create a new .java file containing that
class, it works properly. Does this happened to someone?

I am using Eclipse 3.3 and MTJ 1.0.

Thanks in advance,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #32598 is a reply to message #32564] Wed, 15 July 2009 16:57 Go to previous messageGo to next message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

you probably forgot to add your classes in the build properties for the
device configuration you are using. Take a look at
http://help.eclipse.org/galileo/topic/org.eclipse.mtj.doc.us er/html/tasks/build_configuration.html
and see if that fix your problem.

Regards,
Diego
Re: ClassNotFoundException when two classes are defined in the same java file [message #32632 is a reply to message #32598] Wed, 15 July 2009 18:20 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Diego,
Thanks for your answer. I did have the source file included in the
build properties. The problem is that I have only one .java file that
contains two classes defined inside. After compiling this .java file the
compiler generates two .class files. Only the .class file that has the
same name than the .java file is included in the .jar package. The other
class file is not included in the file and that is why I am getting the
ClassNotFound exception.
I don't know why both .class are not included in the .jar, is there a
configuration for this? Maybe somewhere to configure how the .jar file is
generated?

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #32667 is a reply to message #32564] Wed, 15 July 2009 21:40 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Sorry, I said that I was using Eclipse 3.3, but I am actually using
Eclipse 3.5, MTJ 1.0 and WTK 2.5.2_01
Re: ClassNotFoundException when two classes are defined in the same java file [message #32702 is a reply to message #32632] Wed, 15 July 2009 22:35 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Pablo Passera,

The problem you are describing should not be happening. I have tried to
reproduce what you described but could not get the error. Could you please
post the class file you are creating or some other one that reproduces the
error??

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #32734 is a reply to message #32702] Wed, 15 July 2009 23:11 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi David,
Thanks for your answer. Below I pasted the .java file that is giving
me that error. However, I tried also to compile J4ME and since it has some
files in where two classes are defined, I am getting the same error. Let
me know if you need more info.

I looked at the .mtj.tmp folder in the project and this is the
content of that dir:

mtj.tmp
SlideShow.jad
SlideShow.jar
verified
classes
SlideShow.class
SSCanvas.class
libs

The content of the SlideShow.jar file is:
META-INF
MANIFEST.MF
SlideShow.Class
pngtest16rgba.png
pnggrad8rgb.png

and the exact error is:

Running with storage root C:\Documents and
Settings\yo\j2mewtk\2.5.2\appdb\DefaultColorPhone
Running with locale: Spanish_Argentina.1252
Running in the identified_third_party security domain
java.lang.NoClassDefFoundError: SSCanvas
at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+80)
Execution completed.
3405897 bytecodes executed
16 thread switches
1668 classes in the system (including system classes)
17652 dynamic objects allocated (529312 bytes)
2 garbage collections (458848 bytes collected)


------------------------------------------------------------ -----

//file: SlideShow.java

import java.io.IOException;

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

public class SlideShow extends MIDlet implements CommandListener {
private Command exitCommand;
private Display display;
private SSCanvas screen;
public SlideShow() {
// Get the Display object for the MIDlet
display = Display.getDisplay(this);
// Create the Exit command
exitCommand = new Command("Exit", Command.EXIT, 2);
// Create the main screen form
screen = new SSCanvas();
// Set the Exit command
screen.addCommand(exitCommand);
screen.setCommandListener(this);
}

public void startApp() throws MIDletStateChangeException {
// Set the current display to the screen
display.setCurrent(screen);
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}

public void commandAction(Command c, Displayable s) {
if (c == exitCommand) {
destroyApp(false);
notifyDestroyed();
}
}
}

class SSCanvas extends Canvas {
private Image[] slides;
private String[] captions = { "Automotive", "Beauty", "Construction",
"Pest Control", "Pet Store", "Restaurant" };
private int curSlide = 0;

public SSCanvas() {
// Load the slide show images
try {
slides = new Image[2];
slides[0] = Image.createImage("/pnggrad8rgb.png");
slides[1] = Image.createImage("/pngtest16rgba.png");
}
catch (IOException e) {
System.err.println("Failed loading images!");
}
}

public void keyPressed(int keyCode) {
// Get the game action from the key code
int action = getGameAction(keyCode);
// Process the left and right buttons
switch (action) {
case LEFT:
if (--curSlide < 0)
curSlide = slides.length - 1;
repaint();
break;
case RIGHT:
if (++curSlide >= slides.length)
curSlide = 0;
repaint();
break;
}
}

public void paint(Graphics g) {
// Clear the display
g.setColor(255, 255, 255); // White
g.fillRect(0, 0, getWidth(), getHeight());
// Draw the current image
g.drawImage(slides[curSlide], getWidth() / 2, getHeight() / 2,
Graphics.HCENTER | Graphics.VCENTER);
// Set the font for the caption
Font f = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,
Font.SIZE_MEDIUM);
g.setFont(f);
// Draw the current caption
g.setColor(0, 0, 0); // Black
g.drawString(captions[curSlide], getWidth() / 2, 0,
Graphics.HCENTER | Graphics.TOP);
}
}

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #32761 is a reply to message #32734] Thu, 16 July 2009 00:47 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
This is also the output from the MTJ Build console running eclipse with
the following options:

eclipse -vmargs -Dmtj.build.logging=all

> PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.preverifyProject project = P/SlideShow
> ResourceDeltaBuilder.build
> ResourceDeltaBuilder.handleClassAddsAndChanges; classFiles count = 2
======================== Launching Preverification
=========================
======================== Preverification exited with code: 0
< ResourceDeltaBuilder.handleClassAddsAndChanges
< ResourceDeltaBuilder.build
< PreverificationBuilder.preverifyProject project = P/SlideShow
> PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.preverifyProject project = P/SlideShow
> ResourceDeltaBuilder.build
> ResourceDeltaBuilder.handleClassAddsAndChanges; classFiles count = 0
< ResourceDeltaBuilder.handleClassAddsAndChanges
< ResourceDeltaBuilder.build
< PreverificationBuilder.preverifyProject project = P/SlideShow
> PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.build project = P/SlideShow

Thanks,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #32854 is a reply to message #32734] Thu, 16 July 2009 13:31 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello again Pablo,

It seems that you found a bug on our implementation. The class file is not
being included on the application package because the package builder is
not including it since it is not handling top level classes other than the
main public class within a java file. In order to solve your problem for
now consider moving the SSCanvas class into the SlideShow class (make the
SSCanvas an inner class of the SlideShow class). I will open a bug for
this issue and will make sure it gets solved as soon as possible.

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #32889 is a reply to message #32564] Thu, 16 July 2009 15:09 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

Bug fixed :) (https://bugs.eclipse.org/bugs/show_bug.cgi?id=283705).

Thank you for helping improving MTJ!!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #32924 is a reply to message #32889] Thu, 16 July 2009 20:54 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi David,
That's great. Thanks you for your help!

How do I get the fixed version?

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #32959 is a reply to message #32924] Fri, 17 July 2009 12:22 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

As soon as the next nightly build comes out i will tell you!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #32994 is a reply to message #32959] Fri, 17 July 2009 14:54 Go to previous messageGo to next message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

The N20090717 NB is out and has the fix for the issue you reported.

Please, download it from :
http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N2009 0717-200907171006/index.html

Regards,
Diego
Re: ClassNotFoundException when two classes are defined in the same java file [message #33029 is a reply to message #32994] Fri, 17 July 2009 23:51 Go to previous messageGo to next message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi guys,
I tested that build with my SlideShow project, both classes are
included in the .jar file, but now the png images are not. I checked in
the project build.properties and both files are included. This was working
before, could have this patch broken this?

Regards,
Pablo

# MTJ Build Properties
DefaultColorPhone=src/SlideShow.java\
,res/pnggrad8rgb.png\
,res/pngtest16rgba.png\

PS: I downloaded the files from this link
http://www.fnordware.com/superpng/samples.html
Re: ClassNotFoundException when two classes are defined in the same java file [message #33066 is a reply to message #33029] Sat, 18 July 2009 14:36 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

Unfortunately you are right, the patch seems to have discarded non class
files. I have just fixed the issue and will ask Diego to generate a new
nightly build as soon as he can. Hopefully on monday morning!

Hope it finally works fine!! Thanks again for your contribution to MTJ!!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #33135 is a reply to message #33066] Mon, 20 July 2009 13:12 Go to previous message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

A new NB was released today.
http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N2009 0720-200907200750/index.html
Hope this one work fine now.

Regards,
Diego Madruga
Re: ClassNotFoundException when two classes are defined in the same java file [message #575006 is a reply to message #32564] Wed, 15 July 2009 16:57 Go to previous message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

you probably forgot to add your classes in the build properties for the
device configuration you are using. Take a look at
http://help.eclipse.org/galileo/topic/org.eclipse.mtj.doc.us er/html/tasks/build_configuration.html
and see if that fix your problem.

Regards,
Diego
Re: ClassNotFoundException when two classes are defined in the same java file [message #575023 is a reply to message #32598] Wed, 15 July 2009 18:20 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Diego,
Thanks for your answer. I did have the source file included in the
build properties. The problem is that I have only one .java file that
contains two classes defined inside. After compiling this .java file the
compiler generates two .class files. Only the .class file that has the
same name than the .java file is included in the .jar package. The other
class file is not included in the file and that is why I am getting the
ClassNotFound exception.
I don't know why both .class are not included in the .jar, is there a
configuration for this? Maybe somewhere to configure how the .jar file is
generated?

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #575042 is a reply to message #32564] Wed, 15 July 2009 21:40 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Sorry, I said that I was using Eclipse 3.3, but I am actually using
Eclipse 3.5, MTJ 1.0 and WTK 2.5.2_01
Re: ClassNotFoundException when two classes are defined in the same java file [message #575071 is a reply to message #32632] Wed, 15 July 2009 22:35 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Pablo Passera,

The problem you are describing should not be happening. I have tried to
reproduce what you described but could not get the error. Could you please
post the class file you are creating or some other one that reproduces the
error??

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #575094 is a reply to message #32702] Wed, 15 July 2009 23:11 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi David,
Thanks for your answer. Below I pasted the .java file that is giving
me that error. However, I tried also to compile J4ME and since it has some
files in where two classes are defined, I am getting the same error. Let
me know if you need more info.

I looked at the .mtj.tmp folder in the project and this is the
content of that dir:

mtj.tmp
SlideShow.jad
SlideShow.jar
verified
classes
SlideShow.class
SSCanvas.class
libs

The content of the SlideShow.jar file is:
META-INF
MANIFEST.MF
SlideShow.Class
pngtest16rgba.png
pnggrad8rgb.png

and the exact error is:

Running with storage root C:\Documents and
Settings\yo\j2mewtk\2.5.2\appdb\DefaultColorPhone
Running with locale: Spanish_Argentina.1252
Running in the identified_third_party security domain
java.lang.NoClassDefFoundError: SSCanvas
at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+80)
Execution completed.
3405897 bytecodes executed
16 thread switches
1668 classes in the system (including system classes)
17652 dynamic objects allocated (529312 bytes)
2 garbage collections (458848 bytes collected)


------------------------------------------------------------ -----

//file: SlideShow.java

import java.io.IOException;

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

public class SlideShow extends MIDlet implements CommandListener {
private Command exitCommand;
private Display display;
private SSCanvas screen;
public SlideShow() {
// Get the Display object for the MIDlet
display = Display.getDisplay(this);
// Create the Exit command
exitCommand = new Command("Exit", Command.EXIT, 2);
// Create the main screen form
screen = new SSCanvas();
// Set the Exit command
screen.addCommand(exitCommand);
screen.setCommandListener(this);
}

public void startApp() throws MIDletStateChangeException {
// Set the current display to the screen
display.setCurrent(screen);
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}

public void commandAction(Command c, Displayable s) {
if (c == exitCommand) {
destroyApp(false);
notifyDestroyed();
}
}
}

class SSCanvas extends Canvas {
private Image[] slides;
private String[] captions = { "Automotive", "Beauty", "Construction",
"Pest Control", "Pet Store", "Restaurant" };
private int curSlide = 0;

public SSCanvas() {
// Load the slide show images
try {
slides = new Image[2];
slides[0] = Image.createImage("/pnggrad8rgb.png");
slides[1] = Image.createImage("/pngtest16rgba.png");
}
catch (IOException e) {
System.err.println("Failed loading images!");
}
}

public void keyPressed(int keyCode) {
// Get the game action from the key code
int action = getGameAction(keyCode);
// Process the left and right buttons
switch (action) {
case LEFT:
if (--curSlide < 0)
curSlide = slides.length - 1;
repaint();
break;
case RIGHT:
if (++curSlide >= slides.length)
curSlide = 0;
repaint();
break;
}
}

public void paint(Graphics g) {
// Clear the display
g.setColor(255, 255, 255); // White
g.fillRect(0, 0, getWidth(), getHeight());
// Draw the current image
g.drawImage(slides[curSlide], getWidth() / 2, getHeight() / 2,
Graphics.HCENTER | Graphics.VCENTER);
// Set the font for the caption
Font f = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,
Font.SIZE_MEDIUM);
g.setFont(f);
// Draw the current caption
g.setColor(0, 0, 0); // Black
g.drawString(captions[curSlide], getWidth() / 2, 0,
Graphics.HCENTER | Graphics.TOP);
}
}

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #575120 is a reply to message #32734] Thu, 16 July 2009 00:47 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
This is also the output from the MTJ Build console running eclipse with
the following options:

eclipse -vmargs -Dmtj.build.logging=all

> PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.cleanProject project = P/SlideShow
< PreverificationBuilder.clean project = P/SlideShow
> PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.preverifyProject project = P/SlideShow
> ResourceDeltaBuilder.build
> ResourceDeltaBuilder.handleClassAddsAndChanges; classFiles count = 2
======================== Launching Preverification
=========================
======================== Preverification exited with code: 0
< ResourceDeltaBuilder.handleClassAddsAndChanges
< ResourceDeltaBuilder.build
< PreverificationBuilder.preverifyProject project = P/SlideShow
> PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.build project = P/SlideShow
> PreverificationBuilder.preverifyProject project = P/SlideShow
> ResourceDeltaBuilder.build
> ResourceDeltaBuilder.handleClassAddsAndChanges; classFiles count = 0
< ResourceDeltaBuilder.handleClassAddsAndChanges
< ResourceDeltaBuilder.build
< PreverificationBuilder.preverifyProject project = P/SlideShow
> PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.preverifyLibraries project = P/SlideShow
< PreverificationBuilder.build project = P/SlideShow

Thanks,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #575132 is a reply to message #32734] Thu, 16 July 2009 13:31 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello again Pablo,

It seems that you found a bug on our implementation. The class file is not
being included on the application package because the package builder is
not including it since it is not handling top level classes other than the
main public class within a java file. In order to solve your problem for
now consider moving the SSCanvas class into the SlideShow class (make the
SSCanvas an inner class of the SlideShow class). I will open a bug for
this issue and will make sure it gets solved as soon as possible.

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #575141 is a reply to message #32564] Thu, 16 July 2009 15:09 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

Bug fixed :) (https://bugs.eclipse.org/bugs/show_bug.cgi?id=283705).

Thank you for helping improving MTJ!!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #575153 is a reply to message #32889] Thu, 16 July 2009 20:54 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi David,
That's great. Thanks you for your help!

How do I get the fixed version?

Regards,
Pablo
Re: ClassNotFoundException when two classes are defined in the same java file [message #575169 is a reply to message #32924] Fri, 17 July 2009 12:22 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

As soon as the next nightly build comes out i will tell you!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #575190 is a reply to message #32959] Fri, 17 July 2009 14:54 Go to previous message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

The N20090717 NB is out and has the fix for the issue you reported.

Please, download it from :
http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N2009 0717-200907171006/index.html

Regards,
Diego
Re: ClassNotFoundException when two classes are defined in the same java file [message #575204 is a reply to message #32994] Fri, 17 July 2009 23:51 Go to previous message
Pablo Passera is currently offline Pablo PasseraFriend
Messages: 14
Registered: July 2009
Junior Member
Hi guys,
I tested that build with my SlideShow project, both classes are
included in the .jar file, but now the png images are not. I checked in
the project build.properties and both files are included. This was working
before, could have this patch broken this?

Regards,
Pablo

# MTJ Build Properties
DefaultColorPhone=src/SlideShow.java\
,res/pnggrad8rgb.png\
,res/pngtest16rgba.png\

PS: I downloaded the files from this link
http://www.fnordware.com/superpng/samples.html
Re: ClassNotFoundException when two classes are defined in the same java file [message #575216 is a reply to message #33029] Sat, 18 July 2009 14:36 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Pablo,

Unfortunately you are right, the patch seems to have discarded non class
files. I have just fixed the issue and will ask Diego to generate a new
nightly build as soon as he can. Hopefully on monday morning!

Hope it finally works fine!! Thanks again for your contribution to MTJ!!

Regards,

David Marques
Re: ClassNotFoundException when two classes are defined in the same java file [message #575263 is a reply to message #33066] Mon, 20 July 2009 13:12 Go to previous message
Diego Madruga Sandin is currently offline Diego Madruga SandinFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Pablo,

A new NB was released today.
http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N2009 0720-200907200750/index.html
Hope this one work fine now.

Regards,
Diego Madruga
Previous Topic:Using JNI with Eclipse+MTJ
Next Topic:GBK encoding on console output
Goto Forum:
  


Current Time: Thu Mar 28 12:04:19 GMT 2024

Powered by FUDForum. Page generated in 0.08862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top