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


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

Re: java.lang.VerifyError running Eclipse project

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: java.lang.VerifyError running Eclipse project
Date 2011-09-22 10:19 -0700
Organization http://groups.google.com
Message-ID <28997584.979.1316711962032.JavaMail.geo-discussion-forums@preb19> (permalink)
References <YZqdnbShV6yWXufTnZ2dnUVZ_r2dnZ2d@westnet.com.au> <5798675.575.1316705613833.JavaMail.geo-discussion-forums@prib32> <CtSdneqM44K8_ObTnZ2dnUVZ_qednZ2d@westnet.com.au>

Show all headers | View raw


On Thursday, September 22, 2011 9:23:43 AM UTC-7, Qu0ll wrote:
> "Lew"  wrote in message 
> news:5798675.575.1316705613833.JavaMail.geo-discussion-forums@prib32...
> 
> > Looks like 'ResultsModel' in the link to the unnamed client is an 
> > out-of-date version.
> 
> My guess as well but I can't see how this is possible given that I even 
> deleted the "bin" directory of all Eclipse projects involved.  I think it's 
> an Eclipse caching bug but I don't know how to resolve it.

Try the build from the command line.

Are the client and service classes in the same project?  If not, are inter-project dependencies set in Eclipse?  Did you rebuild both projects?

If there are two projects, it is often best to make the library project (the one in the build path of the other) emit a JAR, and use the JAR in the dependent project.

Search from the command line for all ".class" files using something like the UNIX (Cygwin) "find"; that should pre-empt anything Eclipse is trying under the hood.

Make sure you "refrech" your Eclipse projects.

I don't know about RCP projects, but enterprise Java projects are of similar complexity and there are all sorts of intermediate places in those where an out-of-date ".class" file can linger, between server directories and staging directories and temporary directories and what-all.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

java.lang.VerifyError running Eclipse project "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-09-22 15:09 +1000
  Re: java.lang.VerifyError running Eclipse project Lew <lewbloch@gmail.com> - 2011-09-22 08:33 -0700
    Re: java.lang.VerifyError running Eclipse project "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-09-23 02:23 +1000
      Re: java.lang.VerifyError running Eclipse project Lew <lewbloch@gmail.com> - 2011-09-22 10:19 -0700

csiph-web