Maven project for GRPC client working in Eclipse but not as separate JAR

I have created Maven project for GRPC client and generated finally JAR library. When I tried to use it in Eclipse project, it’s working perfectly. But when I created a main JAR that call the same methods from GRPC client it won’t to work – faired “java.lang.NoClassDefFoundError: com/teamviewer/iot/data/grpc/client/Client”

I have used “protobuf-maven-plugin” Maven plugin that generates the GRPC from proto.


Naturally, the generation of the jar is done by “maven-jar-plugin”.

OS: Ubuntu 16.04
IDE: Eclipse Oxigen and IntelliJ IDEA 16.3
JDK: 1.8.0_141
Maven: 3.5.0

I hope that somebody know the solution and can help me to fix the issue.