背景

mvn package时出现:

cannot access com.google.protobuf.GeneratedMessageV3

解决方案

添加依赖:

        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.5.1</version>
        </dependency>