-
-
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
cucumber.runtime.CucumberException: java.io.FileNotFoundException #866
Comments
I can confirm this is a regression. I'm working on a fix. |
@aslakhellesoy You probably know more than me about the fine details of url/uri/path-convertations in Java, however is seems to me that this stackoverflow answer have some relevant information for the fix in ZipResourceIteratorFactory. |
Thanks for the SO tip @brasmusson - I switched to using It should all be good now. @Martin-Spamer - can you try |
I can confirm that 1.2.3-SNAPSHOT from the sonatype repository fixes this. Sorry for delay in responding I went offline shortly after reporting this. Cheers. Martin |
Hi aslakhellesoy , is the issue raised by Martin resolved? I am still facing this issue if there is %20 in the path for jar. If there is no %20 in the path then it works fine. Please suggest. thanks! |
@khairajpamnani it's in |
Can we have 1.2.3 version in MVN repository? |
Yes, eventually. |
@khairajpamnani @erwinc1 what's preventing you from using the snapshot maven repo? |
I don't see 1.2.3 version in maven repository so how that will be downloaded through POM into my .m2 dir. I am not sure if maven also search sona repository for requested jar version. Sorry if I ask anything incorrect here. |
Please. Read up on maven snapshots. Read all my comments in this issue. Follow the links. Read. Learn. |
I've updated the docs a little. Is it clearer now @khairajpamnani @erwinc1. You'd use |
I had the same problem, the version 1.2.4-SNAPSHOT solved my issue. tks |
1.2.3 was just released, so I recommend that. https://github.com/cucumber/cucumber-jvm/blob/master/History.md |
Great! Thanks for the tip @aslakhellesoy |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've just updated a project from 1.1.8 to 1.2.2 and it is now generating a cucumber.runtime.CucumberException: java.io.FileNotFoundException.
The problem seems to be caused by an '%20' appearing in the path to maven artifact.
The only change is to the dependency & returning the project to 1.1.8 and it runs as expected.
Previously
Changed to
The text was updated successfully, but these errors were encountered: