Wiremock 2.27.0 breaks compatibility with Android because requires Java 8
See original GitHub issueWith WireMock 2.27.0 ( configured using a junit rule) our Android tests started failing because with java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths;
. It seems that a recent change introduced the usage of Paths
class, which is not available on all versions Android.
Since I don’t see this compatibility change being mentioned in the changelog, I’m reporting this problem as an issue to double check that it’s an intended change.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:16
Top Results From Across the Web
Wiremock 2.27.0 breaks compatibility with Android because ...
With WireMock 2.27.0 ( configured using a junit rule) our Android tests started failing because with java.lang.
Read more >How to Download and Install WireMock
The Java 8+ build endeavours to track the latest version of all its major dependencies. note. The Java 7 version is now deprecated...
Read more >Will be using a wiremock-jre-8 dependency within a java 11 ...
When trying to figure out how back and forwards combability works with java, the compiler and the produced bytecode, i found this older...
Read more >SAP Cloud SDK for Java – Release Notes
SAP Cloud SDK can now be used with Java 11. To try out if your project works with Java 11, you can update...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have the same bug after update to 2.27.1
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/conn/ssl/NoopHostnameVerifier; at com.github.tomakehurst.wiremock.http.HttpClientFactory.buildSslConnectionSocketFactory(HttpClientFactory.java:105) at com.github.tomakehurst.wiremock.http.HttpClientFactory.createClient(HttpClientFactory.java:95) at com.github.tomakehurst.wiremock.http.ProxyResponseRenderer.<init>(ProxyResponseRenderer.java:77) at com.github.tomakehurst.wiremock.core.WireMockApp.buildStubRequestHandler(WireMockApp.java:149) at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:75) at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:112)
@tomakehurst please link that issue here too, so other watchers are notified, thanks.