----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Nick,
     Now, I am getting UnstatisfiedLinkError , the first time i load the
servlet. What is static initializer ??

Nick Bauman wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Erik,
>
> You are correct: NoClassDefFound means that the class
> file is not there. If it were a case of the VM not
> finding the .dll, you would get an
> UnstatisfiedLinkError
>
> Does the person have a correct static initializer?
>
> --- Erik Meade <[EMAIL PROTECTED]> wrote:
> >
> > Rajani,
> >
> > NoClassDefFound is used to indicate that a class
> > file which was
> > available during compilation, is not found at
> > execution.
> >
> > In my experience there are two cases to this.  The
> > class path is
> > incorrect, or the class file is not there.  I
> > haven't done native methods
> > from Java so I can not be 100% certain that the
> > error has the same
> > meaning in this instance ( I would be surprised
> > though ).
> >
> > Erik
> >
> > At 02:05 PM 1/16/00 +0530, you wrote:
> > >
> > >hello,
> > >    I have invoked a native method from  a .dll
> > library  in my Servlet
> > >code. An error reading "NoClassDefFound" is
> > displayed on my browser. I
> > >have included the dll in the windows-system
> > directory.
> > >
> > >Can anyone help me with this??
> > >
> > >TIA.
> > >Regards,
> > >Rajani
> >
>
> =====
> # Nick Bauman
> # Technical Programmer
> # http://webhelp.com
> # real people, real answers, real time
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to