microprofile-extensions / openapi-ext

Some extensions for MicroProfile OpenAPI
Apache License 2.0
22 stars 13 forks source link

NoSuchMethodError with Java 8 and Payara 4 #32

Closed ralfovelgoenne closed 4 years ago

ralfovelgoenne commented 4 years ago

Got the following error on Java 8 with Payara 4: Caused by: java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at org.microprofileext.openapi.swaggerui.Templates.getLogo(Templates.java:121) at org.microprofileext.openapi.swaggerui.Templates.afterCreate(Templates.java:46) ... 78 more

Should it work with Java 8?

ralfovelgoenne commented 4 years ago

I did see in the other post: should I use 1.1.3 for Java 8?

phillip-kruger commented 4 years ago

Yes :)

heinerbilch commented 3 years ago

Is it possible to document this ? I have tried 1.1.4 with JBoss 7 and JDK 8 and failed :) 1.1.3 works fine. It was a litte surprise 1.1.4 didn't work, because the jar can be loaded with JDK8 (but not run).

phillip-kruger commented 3 years ago

We accept PRs :)