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


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

Re: classpath issue

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: classpath issue
Date 2016-06-14 18:53 -0400
Organization Aioe.org NNTP Server
Message-ID <njq1su$lbr$1@gioia.aioe.org> (permalink)
References <1168fc92-420f-4125-8107-07098ab84ca7@googlegroups.com>

Show all headers | View raw


On 6/14/2016 4:29 PM, Eric Douglas wrote:
> 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?

Java does not find the class. If the class is in the jar file, then the
most obvious explanation is that Java can not get the jar file.

Is the path correct?

If served via HTTP can you see if the jar file is actually downloaded?

Arne

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