Wow, you're right. The same with me, JAVA_HOME is correct, but the PATH points to 1.3.1 version. I never took a look at that, as everything starts fine, and you get thes classdef not found errors.
MANY, MANY thanks. Dolf Smits ----- Original Message ----- From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]> To: "'JMeter Developers List'" <[EMAIL PROTECTED]> Sent: Monday, January 05, 2004 14:39 Subject: RE: latest CVS gives "java.lang.NoClassDefFoundError: org.apache. jmeter.samplers.SampleResult" errors on (all) samplers > What version of Java are you running it with? > > I just tried the same version as you (from the LSP site) and had some > problems, until I noticed that I was accidentally running JVM version 1.3. > > My JAVA_HOME was set to version 1.4, but there was a copy of java.exe and > javaw.exe higher up the path... > > There are a few bits of code that have crept in that need Java 1.4 (as you > maye have seen from an earlier posting of mine). > > S. > -----Original Message----- > From: Dolf Smits [mailto:[EMAIL PROTECTED] > Sent: 05 January 2004 07:16 > To: JMeter Developers List > Subject: Re: latest CVS gives "java.lang.NoClassDefFoundError: > org.apache.jmeter.samplers.SampleResult" errors on (all) samplers > > > Hm, > > I don't have ANT really installed, nor did I ever use it. > I downloaded the full CVS again, in a new directory and tried again. > same errors. > > I tried to donwload the nightly build from the website. > (both the bin and lib zips from january 5th, 05:30 hours) > > They give the same problem. > starting up gives the gui, as soon as a testplan is running with an http > sampler, it throws an error (in the command window, not in the log files) > > I sincerely hope someone has the time to have a look at this, as I just lack > the knowledge and experience to solve it. > > > Thanks a lot for your help anyway. > > regards, > > Dolf Smits > > > ----- Original Message ----- > From: "Sebastian Bazley" <[EMAIL PROTECTED]> > To: "JMeter Developers List" <[EMAIL PROTECTED]> > Sent: Sunday, January 04, 2004 00:16 > Subject: Re: latest CVS gives "java.lang.NoClassDefFoundError: > org.apache.jmeter.samplers.SampleResult" errors on (all) samplers > > > > Might just be worth trying using Ant directly, instead of via the > build.bat file - build.xml sets up classpath internally now. > > > > Also, try a clean build - for example: > > > > ant clean,package > > > > By the way, as far as I know, samplers should still work if they use the > old method of setting the elapsed time. If not, let me know > > what the problem is and I'll try and fix it. The intention was to allow > 3rd party add-ons to continue using the old method until it > > was convenient to change. > > > > S. > > ----- Original Message ----- > > From: "Dolf Smits" <[EMAIL PROTECTED]> > > To: "JMeter Developers List" <[EMAIL PROTECTED]> > > Sent: Saturday, January 03, 2004 6:18 PM > > Subject: Re: latest CVS gives "java.lang.NoClassDefFoundError: > org.apache.jmeter.samplers.SampleResult" errors on (all) samplers > > > > > > I only use ecclipse for editing files and synchronizing with CVS. > > I build with the build.bat file as delivered in the root > > > > I run it with the jmet.bat file in the bin directory. > > > > It worked a few weeks ago, but i needed to change my own sampler (using > the > > res.sampleStart()/res.sampleEnd() functionality) > > now it doesn't work anymore. > > > > I copied the jar files which i used to use back again and everything > works, > > so it seems something goes wrong while building one or more of the jar > > files, but I have no idea what. > > > > Any suggestions?? > > > > thanks > > > > Dolf > > > > ----- Original Message ----- > > From: "Sebastian Bazley" <[EMAIL PROTECTED]> > > To: "JMeter Developers List" <[EMAIL PROTECTED]> > > Sent: Saturday, January 03, 2004 14:02 > > Subject: Re: latest CVS gives "java.lang.NoClassDefFoundError: > > org.apache.jmeter.samplers.SampleResult" errors on (all) samplers > > > > > > > Works OK for me. > > > > > > Have you tried running JMeter outside Eclipse, using the relevant jmeter > > script file? > > > > > > If that works, then check your Eclipse classpath. > > > > > > S. > > > ----- Original Message ----- > > > From: "Dolf Smits" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Saturday, January 03, 2004 12:45 PM > > > Subject: latest CVS gives "java.lang.NoClassDefFoundError: > > org.apache.jmeter.samplers.SampleResult" errors on (all) samplers > > > > > > > > > Hi all, > > > > > > I just synched my ecclipse with the CVS, but after building I get these > > errors. > > > (at least on http, ftp and ldap samplers) > > > > > > java.lang.NoClassDefFoundError: org.apache.jmeter.samplers.SampleResult > > > > > > > > > > > > I dont get any compile errors, or any error at startup. > > > > > > the core jar does have a SampleResult.class file. > > > > > > Is this my setup that goes wrong, or is something temporarily broken? > > > > > > I hope someone can help me out. > > > > > > > > > > > > Thanks a lot, > > > > > > > > > > > > Dolf Smits > > > > > > > > > > > > (PS the viewResultsFullVisualizer seems to have dissappered. Is this on > > purpose? ) > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
