Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34648

Re: classpath issue

From Stanimir Stamenkov <s7an10@netscape.net>
Newsgroups comp.lang.java.programmer
Subject Re: classpath issue
Date 2016-06-15 02:26 +0300
Organization A noiseless patient Spider
Message-ID <njq3rk$1va$1@dont-email.me> (permalink)
References <1168fc92-420f-4125-8107-07098ab84ca7@googlegroups.com>

Show all headers | View raw


Tue, 14 Jun 2016 13:29:56 -0700 (PDT), /Eric Douglas/:

> What am I missing if I run a JNLP which has this line in it
>
>       <jar href="Public/httpclient-4.5.1.jar"/>
>
> and I get this error:
>
> Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest
>
> Obviously that class exists, so the error must mean something other than what it says?

See if there are previous errors that prevented the class from 
loading (errors during class initialization).  I've had such 
experiences, and subsequent references to the class confusingly have 
been reported as NoClassDefFoundError.

-- 
Stanimir

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

classpath issue Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 13:29 -0700
  Re: classpath issue Lew <lewbloch@gmail.com> - 2016-06-14 13:35 -0700
    Re: classpath issue Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 13:51 -0700
      Re: classpath issue Lew <lewbloch@gmail.com> - 2016-06-15 12:25 -0700
  Re: classpath issue Arne Vajhøj <arne@vajhoej.dk> - 2016-06-14 18:53 -0400
  Re: classpath issue Andreas Leitgeb <avl@logic.at> - 2016-06-14 23:21 +0000
  Re: classpath issue Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-15 02:26 +0300
  Re: classpath issue Roedy Green <inquiry@mindprod.com> - 2016-06-15 01:30 -0700
    Re: classpath issue Eric Douglas <e.d.programmer@gmail.com> - 2016-06-15 08:06 -0700
      Re: classpath issue Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-15 17:20 +0000

csiph-web