What's going on when saving? [message #44561] |
Thu, 22 May 2003 16:38  |
Eclipse User |
|
|
|
Originally posted by: mikeamickey.web.de
Hi everybody,
I experience a strange behavoir when saving a changed file. The whole
project is compiled and then a lot of errors. After changing just a blank
and saving again everything is ok. It can be repeated againg by just
changing a blank. It's a linked ressource but worked already. The ant -
created jar works.
Another problem is when I want to start the Main class, I'll get a Virtual
Machine error.
What's the problem? Thanks for your help
Michael
|
|
|
|
Re: What's going on when saving? [message #45664 is a reply to message #45185] |
Fri, 23 May 2003 10:06  |
Eclipse User |
|
|
|
Originally posted by: mikeamickey.web.de
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C32145.3C3E1EF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Raman,
I don't think it's that option cause I have activated this setting the =
whole time. I think it's even default, isn't it.
Here is the Console output when the error occurs:
java.lang.NoClassDefFoundError: de/noah_regensburg/client/awt/NoahAWT
Exception in thread "main"=20
The Java Virtual Machine Launcher window says:
Could not find the main class. Program will exit.
But there is only one class with a main and I am running that.
Thanks,
Mickey
"Raman" <j_jvr@yahoo.com> wrote in message =
news:bakvea$dc1$1@rogue.oti.com...
> Michael Hartmann wrote:
>=20
> > Hi everybody,
>=20
> > I experience a strange behavoir when saving a changed file. The =
whole
> > project is compiled and then a lot of errors. After changing just a =
blank
> > and saving again everything is ok. It can be repeated againg by just
> > changing a blank. It's a linked ressource but worked already. The =
ant -
> > created jar works.
>=20
> Ofcourse, its just some userfriendly option provided in Eclipse.
> You could change the settings in Preference-->workbench-->perfom build
> automatically when reference change
>=20
>=20
> > Another problem is when I want to start the Main class, I'll get a =
Virtual
> > Machine error.
>=20
> Could suggest when you provide information fully..i.e exception
> details..etc.
> > What's the problem? Thanks for your help
> > Michael
>=20
> Ramana
>=20
>=20
>
------=_NextPart_000_000C_01C32145.3C3E1EF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi Raman,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I don't think it's that option cause I =
have=20
activated this setting the whole time. I think it's even default, isn't=20
it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Here is the Console output when the =
error=20
occurs:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>
<P><FONT face=3DArial size=3D2>java.lang.NoClassDefFoundError:=20
de/noah_regensburg/client/awt/NoahAWT</FONT></P>
<P><FONT face=3DArial size=3D2>Exception in thread "main" </FONT></P>
<P><FONT face=3DArial size=3D2>The Java Virtual Machine Launcher window=20
says:</FONT></P>
<P><FONT face=3DArial size=3D2>Could not find the main class. Program =
will=20
exit.</FONT></P></DIV>
<DIV><FONT face=3DArial size=3D2>But there is only one class with a main =
and I am=20
running that.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mickey</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Raman" <</FONT><A=20
href=3D"mailto:j_jvr@yahoo.com"><FONT face=3DArial=20
size=3D2>j_jvr@yahoo.com</FONT></A><FONT face=3DArial size=3D2>> =
wrote in message=20
</FONT><A href=3D"news:bakvea$dc1$1@rogue.oti.com"><FONT face=3DArial=20
size=3D2>news:bakvea$dc1$1@rogue.oti.com</FONT></A><FONT face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> Michael =
Hartmann=20
wrote:<BR>> <BR>> > Hi everybody,<BR>> <BR>> > I =
experience a=20
strange behavoir when saving a changed file. The whole<BR>> > =
project is=20
compiled and then a lot of errors. After changing just a blank<BR>> =
> and=20
saving again everything is ok. It can be repeated againg by just<BR>> =
>=20
changing a blank. It's a linked ressource but worked already. The ant =
-<BR>>=20
> created jar works.<BR>> <BR>> Ofcourse, its just some =
userfriendly=20
option provided in Eclipse.<BR>> You could change the settings in=20
Preference-->workbench-->perfom build<BR>> automatically when =
reference=20
change<BR>> <BR>> <BR>> > Another problem is when I want to =
start=20
the Main class, I'll get a Virtual<BR>> > Machine error.<BR>> =
<BR>>=20
Could suggest when you provide information fully..i.e exception<BR>>=20
details..etc.<BR>> > What's the problem? Thanks for your =
help<BR>> >=20
Michael<BR>> <BR>> Ramana<BR>> <BR>> <BR>> =
</FONT></BODY></HTML>
------=_NextPart_000_000C_01C32145.3C3E1EF0--
|
|
|
Powered by
FUDForum. Page generated in 0.07366 seconds