Skip to content

Doesnt find StorageFactory.getService #1395

@AndresUrregoAngel

Description

@AndresUrregoAngel

Describe the issue

I'm using Java 1.8 along with Maven 3, I have added this dependency:

 <dependency>
            <groupId>com.google.apis</groupId>
            <artifactId>google-api-services-storage</artifactId>
            <version>v1-rev20181109-1.28.0</version>
            <exclusions>
                <exclusion> <!-- exclude an old version of Guava -->
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava-jdk5</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

But when I try to perform :

Storage client = StorageFactory.getService();

The getService doesnt exist as an option from StorageFactory

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions