{"id":65398,"library":"java-driver-shaded-guava","title":"DataStax Java Driver Shaded Guava","description":"A shaded version of the Guava library for use with the DataStax Java driver for Apache Cassandra to avoid version conflicts.","status":"active","version":"25.1-jre-graal-sub-1","language":"java","source_language":null,"source_url":"https://github.com/datastax/java-driver-shaded-guava","tags":["cassandra","datastax","guava","shaded","driver"],"install":[{"cmd":"<dependency>\n  <groupId>com.datastax.oss</groupId>\n  <artifactId>java-driver-shaded-guava</artifactId>\n  <version>25.1-jre-graal-sub-1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.datastax.oss:java-driver-shaded-guava:25.1-jre-graal-sub-1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ImmutableList","correct":"com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList"}],"quickstart":{"code":"import com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList;\n\npublic class Example {\n    public static void main(String[] args) {\n        ImmutableList<String> list = ImmutableList.of(\"a\", \"b\", \"c\");\n        System.out.println(list);\n    }\n}","lang":"java","description":"Use shaded Guava's ImmutableList in a DataStax driver context."},"warnings":[{"fix":"Use the standard Guava library instead of the shaded version for your own code.","message":"This shaded Guava is intended only for internal use by the DataStax driver; direct use may cause classpath conflicts.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'apach':21 'avoid':24 'cassandra':22,27 'conflict':26 'datastax':1,17,28 'driver':3,19,31 'guava':5,11,29 'java':2,18 'librari':12 'shade':4,7,30 'use':14 'version':8,25","created_at":"2026-06-17T17:09:56.560113+00:00","updated_at":"2026-06-17T17:09:56.560113+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/datastax/java-driver-shaded-guava","github":"https://github.com/datastax/java-driver-shaded-guava","docs":"https://appdoc.app/artifact/com.datastax.oss/java-driver-shaded-guava/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}