|
From: Leif M. <lei...@ta...> - 2009-01-27 15:54:34
|
Nathanael,
An ExceptionInInitializerError does not mean that the class could not be
found. This means that an exception of some sort was thrown from within
the TestClass init method. You should have method like this in your class:
public class TestClass {
}
On Tue, Jan 27, 2009 at 10:47 PM, Nathanael Costa <nca...@gm...>wrote:
> Hi everyone,
>
> I have a java project using System Tray. I set up the Wrapper on system
> startup (i'm using linux), but, when the system initialize, the wrapper
> doesn't start my service. Wrapper.log has:
>
> WrapperSimpleApp: Unable to locate the class mypackage.TestClass:
> java.lang.ExceptionInInitializerError
>
> But if I start the service myself, no errors appears on wrapper.log and the
> tray works fine. And If I run my app (using java -jar), no errors appears on
> console and the tray works fine too.
>
> Anyone knows what could it be?
>
> --
> Nathanael de Castro Costa
> Programador
> NATI - Núcleo de Aplicação em Tecnologia da Informação
> UNIFOR - Universidade de Fortaleza
> Campus da Unifor - bloco M - sala M01
> Fone: (85) 3477-3360
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
--
Leif Mortenson
Representative Director
Tanuki Software, Ltd.
6-16-7-1001 Nishi-Kasai, Edogawa-ku
Tokyo 134-0088 Japan
Tel/Fax: +81-3-3878-0415
モートンソン リーフ
代表取締役
タヌキソフトウェア有限会社
〒134-0088 東京都江戸川区西葛西6-16-7-1001 第2 白子ビル
Tel/Fax: 03-3878-0415
http://www.tanukisoftware.com
lei...@ta...
|