Skip to content
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

org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found #2643

Closed
SchnuckySchuster opened this issue Dec 17, 2021 · 3 comments

Comments

@SchnuckySchuster
Copy link

With Serenity 3.1.10 I get the following error Message

rg.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/Users/gerhardschuster/Entwicklung/java/Serenity-BDD-Screenplay-Example-with-Cucumber/target/classes] either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType. at org.reflections.vfs.Vfs.fromURL (Vfs.java:113) at org.reflections.vfs.Vfs.fromURL (Vfs.java:95) at org.reflections.Reflections.lambda$scan$2 (Reflections.java:176) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept (ForEachOps.java:183) at java.util.HashMap$KeySpliterator.forEachRemaining (HashMap.java:1707) at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:509) at java.util.stream.ForEachOps$ForEachTask.compute (ForEachOps.java:290) at java.util.concurrent.CountedCompleter.exec (CountedCompleter.java:754) at java.util.concurrent.ForkJoinTask.doExec (ForkJoinTask.java:373) at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec (ForkJoinPool.java:1182) at java.util.concurrent.ForkJoinPool.scan (ForkJoinPool.java:1655) at java.util.concurrent.ForkJoinPool.runWorker (ForkJoinPool.java:1622) at java.util.concurrent.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:165)

image

I'm working on a MacBook Pro with M1 Pro Chip and the latest Version of the OS.

You can use this project in order to reproduce the error message https://github.com/SchnuckySchuster/Serenity-BDD-Screenplay-Example-with-Cucumber

Is this of any concern?
Is my pom.xml wrong?

@wakaleo
Copy link
Member

wakaleo commented Dec 17, 2021

I had a look and I really have no idea.

@SchnuckySchuster
Copy link
Author

SchnuckySchuster commented Jan 12, 2022

I can not offer Help but a new observation.
When updating to 3.1.15 the test does not start due to a compilation error. Beforehand it was just a warning but the tests did run.
image

I see this message in my McaBook but also on a Windows 10 Machine.

@wakaleo
Copy link
Member

wakaleo commented Feb 12, 2022

Fixed in 3.2.0

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants