Blocker (regression in 6.1.2): "Unable to find method 'com.google.common.collect.ImmutableList.toImmutableList()Ljava/util/stream/Collector;'"
See original GitHub issueDescribe the bug Cannot evaluate Gradle project. My project uses Android Gradle Plugin version 4.1.2, Gradle version 6.8.3 and Jdk version 11.
Version of dependency-check used The problem occurs using version 6.1.2 (and 6.1.3) of the gradle plugin. It works fine in 6.1.1 and below.
Log file
Unable to find method 'com.google.common.collect.ImmutableList.toImmutableList()Ljava/util/stream/Collector;'
com.google.common.collect.ImmutableList.toImmutableList()Ljava/util/stream/Collector;
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
com.google.common.collect.ImmutableList.toImmutableList ...
After cleaning up guava dependencies in my gradle file as in: testImplementation "com.google.guava:guava:28.2-jre" testImplementation ...
Read more >com.google.common.collect.ImmutableList ... - Tabnine
private static List<SelectItem> buildSelectItems(List<String> columnNames) · return columnNames.stream() · map(QueryUtil::unaliasedName) · collect(toImmutableList() ...
Read more >Chrome driver execution failed with java.lang ... - OneCompiler
java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.toImmutableList()Ljava/util/stream/Collector; at org.openqa.selenium.chrome.
Read more >How to solve " java.lang.NoSuchMethodError "
Error that I was getting: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.toImmutableSet()Ljava/util/stream/Collector;
Read more >ImmutableList (Guava: Google Core Libraries for Java 23.0 API)
A builder for creating immutable list instances, especially public static final lists ("constant lists"). Method Summary. All Methods Static Methods Instance ...
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 FreeTop 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
Top GitHub Comments
I just bumped guava to
30.1.1-jre
via f861019c9 and retested with your sample project and everything works.@alwa One solution is to strictly enforce the use of Guava 28.1-jre: