-
-
Notifications
You must be signed in to change notification settings - Fork 235
-
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:2.8. #412
Comments
Looks like something went wrong invoking JMeter. can you run the following command:
And upload that file here so that I can see the entire run? I suspect there is an issue with your .jmx file. |
@Ardesco Please see below logs as requested
|
Could you do that again with the latest version of the plugin (3.4.0) and then paste your log here again. I suspect you are seeing a JMeter error which has been fixed in 5.4 (which the latest version of the plugin will pull down): |
@Ardesco This is the outcome with Further, is that possible to get compatible versions matrix (java/Jmeter/Jmeter mvn plugin) some where
|
We only support the latest version of the plugin and the latest version of JMeter. In theory the latest version of the plugin can support all versions of JMeter, see The Wiki for more details. In regards to the error above, it looks like you may have a corrupted file stored in your local M2 repository, or you have some custom dependency overrides that are not playing well with the plugin. Do you have any overrides in your POM.xml, or your settings.xml in your ~/.m2 directory? this line would imply you have overrides in your POM that you haven't shown:
That is not in the default dependency tree for version 3.4.0 of the plugin, which is:
One way to make sure there are no corrupted files is to delete your ~/.m2/repository directory, but that will result in maven having to re-download all dependencies again |
@Ardesco
|
It looks like it can't find the jsonpath jar on your classpath. Can you see if the following directory exists on your filesystem, and what files are in it:
You may want to try a |
@Ardesco thanks for your prompt response. I did find Below is the logs with
|
@Ardesco BTW how did you get plugins details with |
I've gone over this again locally and cannot reproduce any of the issues you are seeing. What does stand out is that your local maven repository is not in the default location (it's in Do you have a customised settings.xml, or custom repo config in your POM file? In regards to the plugin details, I just ran a standard |
@Ardesco I don't think it's related to maven misconfiguration. Because all my other Maven projects as expected. Further I have configured my localrepo path as below in my
This make sense |
I've tried modifying my local repository location and I'm still seeing successful runs. Moving into the realm of wild guesses, do you have a different Java version you can run against? Our CI tests are running against the following:
I am using Java 17 locally (I have used Java 16 in the past, but I'm running on a Mac so it's not a direct match for the Windows version of Java 16 you are running). |
@Ardesco Finally I managed to run with below combination,
|
That would suggest that we specifically have an issue with the Oracle JDK version 16.0.2 at the moment. Is the latest version of the plugin working for you with the oracle 1.8 JDK? I would suggest using the latest version rather than 2.8.6 since various fixes/enhancements have been added. |
Possible root cause of the error: https://openjdk.java.net/jeps/396 Need to see if we have some legacy code that tries to access JDK internals, or if we rely on any libraries that do this. |
@sudheerah Could you try with version 3.5.0 (just released) and JDK 17 and see if the latest release has fixed your issues. I've updated all our dependencies to the latest versions and removed a plugin we were using for integration tests. I have also added JDKL 16 and 17 builds which are now passing: https://app.travis-ci.com/github/jmeter-maven-plugin/jmeter-maven-plugin/builds/239486481 |
@Ardesco Sorry for the late response. Tested All looks good, Thanks for your support. |
I am getting subject error when build the maven project.
> mvn clean install
Versions:
POM:
Logs:
I tried updating
jmeter-maven-plugin
to the latest i.e.3.4.0
. No luck thoughThe text was updated successfully, but these errors were encountered: