-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Error when running test on IntelliJ IDEA #124
Comments
@AlberTajuelo - this is strange, this hasn't been reported yet. I just tried IntelliJ and it seems to work fine:
Can you try this experiment, bring up the UI following the instructions here: https://github.com/intuit/karate/wiki/Karate-UI - do you get the same error. Then would it be possible for you to try upgrade the JRE. |
Hi @ptrthomas Thanks for your response. I have run it with a Karate-UI and I receive this error:
I have been reading this StackOverFlow thread and I have found that "openjfx" is not installed by default when you install OpenJDK v8. and they recommend two options:
For IntelliJ IDEA users, you have to do this following steps:
You have to make sure that you have this jar files in classpath:
So, now it is working fine. It should be recommended in the extensive documentation to recommend to add this javafx library. Thanks for your time @ptrthomas |
Thanks a lot @AlberTajuelo - I will add a link to your comment in the doc. EDIT: this problem should be permanently solved now with #656 |
I tried above steps in intelliJ, still issue is not resolved to me. On running runner class fine getting below error. java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\xxxx\Documents\Automation\RESTAPI\IntelliJ%20Karate%20API\target\test-classes\examples\users\users.feature (The system cannot find the path specified) |
@BalurQA sorry cannot replicate. also think this is not related to original issue. follow the instructions here please, thanks: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue |
Use java version 1.8 |
@nikhila294 you are using a very old version of karate which is not supported any more. also please ask these kinds of questions on stack overflow |
Hi,
I have updated Karate Version to last version released (0.5.0) in pom.xml file:
And with this version:
When I launch a specific feature with Cucumber Plugin (https://plugins.jetbrains.com/plugin/7212-cucumber-for-java), I receive this error:
If I launch this with
mvn clean test
works fine.Anyone has suffered this bug?
Thanks for all
The text was updated successfully, but these errors were encountered: