Jmeter-myeclipse Compile run problem (Could not read JMeter properties file)

Source: Internet
Author: User
Tags throwable

Jmeter-myeclipse Compile Run issues

Follow this sticker http://phoenix0529.iteye.com/blog/1530728
It is possible to configure and then compile the build.xml with Ant.
But if run Newdriver error, as follows:

Java.lang.Throwable:Could not access E:\Workspaces\MyEclipse 10\lib
At Org.apache.jmeter.newdriver.<clinit> (newdriver.java:99)
Java.lang.Throwable:Could not access E:\Workspaces\MyEclipse 10\lib\ext
At Org.apache.jmeter.newdriver.<clinit> (newdriver.java:99)
Java.lang.Throwable:Could not access E:\Workspaces\MyEclipse 10\lib\junit
At Org.apache.jmeter.newdriver.<clinit> (newdriver.java:99)
Fatal_e 2013-12-27 15:49:13.375 [JMeter. J] (): An error occurred:
Java.lang.RuntimeException:Could not read JMeter properties File:e:\workspaces\myeclipse 10\bin\jmeter.properties
At Org.apache.jmeter.util.JMeterUtils.loadJMeterProperties (jmeterutils.java:190)
At Org.apache.jmeter.JMeter.initializeProperties (jmeter.java:524)
At Org.apache.jmeter.JMeter.start (jmeter.java:294)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.jmeter.NewDriver.main (newdriver.java:259)
An error occurred:could not read JMeter properties File:e:\workspaces\myeclipse 10\bin\jmeter.properties
------Solution--------------------
I had this problem, too.
Baidu to search your question
But the reason I found it myself.
Path Problem E:\Workspaces\MyEclipse 10\lib
Check this out: TmpDir = Userdir.getabsolutefile (). GetParent ();
Change to this: TmpDir = Userdir.getabsolutepath ()

Jmeter-myeclipse Compile run problem (Could not read JMeter properties file)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.