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

java.net.MalformedURLException: no protocol: META-INF/openapi.yml #881

Closed
gastaldi opened this issue Feb 13, 2019 · 1 comment · Fixed by #882
Closed

java.net.MalformedURLException: no protocol: META-INF/openapi.yml #881

gastaldi opened this issue Feb 13, 2019 · 1 comment · Fixed by #882
Milestone

Comments

@gastaldi
Copy link
Contributor

Having an application with an openapi.yaml file inside src/main/resources/META-INF, the following error is thrown when mvn clean install is run:

Caused by: java.net.MalformedURLException: no protocol: META-INF/openapi.yml
    at java.net.URL.<init> (URL.java:593)
    at java.net.URL.<init> (URL.java:490)
    at java.net.URL.<init> (URL.java:439)
    at org.jboss.shamrock.smallrye.openapi.SmallRyeOpenApiProcessor.generateStaticModel (SmallRyeOpenApiProcessor.java:114)
    at org.jboss.shamrock.smallrye.openapi.SmallRyeOpenApiProcessor.build (SmallRyeOpenApiProcessor.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.jboss.shamrock.deployment.ExtensionLoader$1.execute (ExtensionLoader.java:383)
    at org.jboss.builder.BuildContext.run (BuildContext.java:402)
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run (ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun (EnhancedQueueExecutor.java:1998)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask (EnhancedQueueExecutor.java:1525)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1416)
    at java.lang.Thread.run (Thread.java:748)
    at org.jboss.threads.JBossThread.run (JBossThread.java:479)
@gastaldi
Copy link
Contributor Author

@kenfinnigan this error may interest you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants