Closed sp1rs closed 3 years ago
@sp1rs have you tried with a dot in package name:
option java_package = "packages.deliveryreceipt";
Yes and the same error.
Please provide reproducable branch. When I am adding file with your content (look at the first 6 lines of the logs below) - there is no errors:
adven@manjaro ~/I/grpc-wiremock (bugfix/3)> cat example/proto/bug3.proto
syntax = "proto3";
package supplier_invoice_module.v1.deliveryreceiptpb;
option go_package = "packages/supplier_invoice_module/v1/deliveryreceiptpb";
option java_outer_classname = "DeliveryReceiptProto";
option java_package = "packages.deliveryreceipt";⏎
adven@manjaro ~/I/grpc-wiremock (bugfix/3)> docker run -p 8888:8888 -p 50000:50000 -v (pwd)/example/proto:/proto -v (pwd)/example/wiremock:/wiremock adven27/grpc-wiremock
Initialized native services in: /home/gradle/.gradle/native
Removing 0 daemon stop events from registry
Starting a Gradle Daemon (subsequent builds will be faster)
Starting process 'Gradle build daemon'. Working directory: /home/gradle/.gradle/daemon/6.4.1 Command: /opt/java/openjdk/bin/java --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /opt/gradle/lib/gradle-launcher-6.4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.4.1
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 1.415 secs.
The client will now receive all logging from the daemon (pid: 42). The daemon log file: /home/gradle/.gradle/daemon/6.4.1/daemon-42.out.log
Starting build in new daemon [memory: 536.9 MB]
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 4 worker leases.
Starting Build
Compiling settings file '/usr/src/java-code/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/usr/src/java-code/settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file '/usr/src/java-code/settings.gradle'.
Projects loaded. Root project using build file '/usr/src/java-code/build.gradle'.
Included projects: [root project 'grpc-wiremock']
> Configure project :
Evaluating root project 'grpc-wiremock' using build file '/usr/src/java-code/build.gradle'.
Applying dependency management to configuration 'bootArchives' in project 'grpc-wiremock'
Applying dependency management to configuration 'archives' in project 'grpc-wiremock'
Applying dependency management to configuration 'default' in project 'grpc-wiremock'
Applying dependency management to configuration 'compile' in project 'grpc-wiremock'
Applying dependency management to configuration 'implementation' in project 'grpc-wiremock'
Applying dependency management to configuration 'runtime' in project 'grpc-wiremock'
Applying dependency management to configuration 'compileOnly' in project 'grpc-wiremock'
Applying dependency management to configuration 'compileClasspath' in project 'grpc-wiremock'
Applying dependency management to configuration 'annotationProcessor' in project 'grpc-wiremock'
Applying dependency management to configuration 'runtimeOnly' in project 'grpc-wiremock'
Applying dependency management to configuration 'runtimeClasspath' in project 'grpc-wiremock'
Applying dependency management to configuration 'testCompile' in project 'grpc-wiremock'
Applying dependency management to configuration 'testImplementation' in project 'grpc-wiremock'
Applying dependency management to configuration 'testRuntime' in project 'grpc-wiremock'
Applying dependency management to configuration 'testCompileOnly' in project 'grpc-wiremock'
Applying dependency management to configuration 'testCompileClasspath' in project 'grpc-wiremock'
Applying dependency management to configuration 'testAnnotationProcessor' in project 'grpc-wiremock'
Applying dependency management to configuration 'testRuntimeOnly' in project 'grpc-wiremock'
Applying dependency management to configuration 'testRuntimeClasspath' in project 'grpc-wiremock'
Applying dependency management to configuration 'apiElements' in project 'grpc-wiremock'
Applying dependency management to configuration 'runtimeElements' in project 'grpc-wiremock'
Applying dependency management to configuration 'developmentOnly' in project 'grpc-wiremock'
Applying dependency management to configuration 'productionRuntimeClasspath' in project 'grpc-wiremock'
Applying dependency management to configuration 'protobuf' in project 'grpc-wiremock'
Applying dependency management to configuration 'compileProtoPath' in project 'grpc-wiremock'
Applying dependency management to configuration 'testProtobuf' in project 'grpc-wiremock'
Applying dependency management to configuration 'testCompileProtoPath' in project 'grpc-wiremock'
Applying dependency management to configuration 'protobufToolsLocator_protoc' in project 'grpc-wiremock'
------------------------------------------------------------------------
Detecting the operating system and CPU architecture
------------------------------------------------------------------------
os.detected.name=linux
os.detected.arch=x86_64
os.detected.version=5.4
os.detected.version.major=5
os.detected.version.minor=4
os.detected.release=ubuntu
os.detected.release.version=18.04
os.detected.release.like.ubuntu=true
os.detected.release.like.debian=true
os.detected.classifier=linux-x86_64
Applying dependency management to configuration 'protobufToolsLocator_grpc' in project 'grpc-wiremock'
All projects evaluated.
Selected primary task 'bootRun' from project :
Tasks to be executed: [task ':extractIncludeProto', task ':extractProto', task ':generateProto', task ':generateJava', task ':compileJava', task ':processResources', task ':classes', task ':bootRun']
Tasks that were excluded: []
:extractIncludeProto (Thread[Daemon worker,5,main]) started.
> Task :extractIncludeProto
Resolving global dependency management for project 'grpc-wiremock'
Excluding []
Excluding []
Caching disabled for task ':extractIncludeProto' because:
Build cache is disabled
Task ':extractIncludeProto' is not up-to-date because:
No history is available.
:extractIncludeProto (Thread[Daemon worker,5,main]) completed. Took 3.376 secs.
:extractProto (Thread[Daemon worker,5,main]) started.
> Task :extractProto
Excluding []
Caching disabled for task ':extractProto' because:
Build cache is disabled
Task ':extractProto' is not up-to-date because:
No history is available.
:extractProto (Thread[Daemon worker,5,main]) completed. Took 0.007 secs.
:generateProto (Thread[Daemon worker,5,main]) started.
> Task :generateProto
file or directory '/usr/src/java-code/src/main/proto', not found
Excluding []
Excluding []
Caching disabled for task ':generateProto' because:
Build cache is disabled
Task ':generateProto' is not up-to-date because:
No history is available.
Resolving artifact: [group:io.grpc, name:protoc-gen-grpc-java, version:1.29.0, classifier:linux-x86_64, ext:exe]
Resolved artifact: /home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/protoc-gen-grpc-java/1.29.0/dbd37e049ab43c119706c5c00895556c3fce9cfb/protoc-gen-grpc-java-1.29.0-linux-x86_64.exe
Resolving artifact: [group:com.google.protobuf, name:protoc, version:3.12.1, classifier:linux-x86_64, ext:exe]
Resolved artifact: /home/gradle/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.12.1/1ae205c004245ac57791ff3b89d2275146b7e472/protoc-3.12.1-linux-x86_64.exe
file or directory '/usr/src/java-code/src/main/proto', not found
[/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.12.1/1ae205c004245ac57791ff3b89d2275146b7e472/protoc-3.12.1-linux-x86_64.exe, -I/proto, -I/usr/src/java-code/build/extracted-protos/main, -I/usr/src/java-code/build/extracted-include-protos/main, --java_out=src/main/java, --plugin=protoc-gen-grpc=/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/protoc-gen-grpc-java/1.29.0/dbd37e049ab43c119706c5c00895556c3fce9cfb/protoc-gen-grpc-java-1.29.0-linux-x86_64.exe, --grpc_out=src/main/java, /proto/bug3.proto, /proto/common.proto, /proto/wallet.proto]
protoc: stdout: . stderr:
:generateProto (Thread[Daemon worker,5,main]) completed. Took 0.299 secs.
:generateJava (Thread[Daemon worker,5,main]) started.
> Task :generateJava
Caching disabled for task ':generateJava' because:
Build cache is disabled
Task ':generateJava' is not up-to-date because:
No history is available.
Found :generateJava:
Parsed package = [api.wallet] and service = [BalanceService]
Found :generateJava:
Parsed package = [api.wallet] and service = [WalletService]
:generateJava (Thread[Daemon worker,5,main]) completed. Took 0.532 secs.
:compileJava (Thread[Daemon worker,5,main]) started.
> Task :compileJava
Excluding []
Caching disabled for task ':compileJava' because:
Build cache is disabled
Task ':compileJava' is not up-to-date because:
No history is available.
The input changes require a full rebuild for incremental task ':compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with JDK Java compiler API.
Note: /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/GrpcWiremock.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Created classpath snapshot for incremental compilation in 0.286 secs. 35 duplicate classes found in classpath (see all with --debug).
:compileJava (Thread[Daemon worker,5,main]) completed. Took 4.213 secs.
:processResources (Thread[Daemon worker,5,main]) started.
> Task :processResources
Caching disabled for task ':processResources' because:
Build cache is disabled
Task ':processResources' is not up-to-date because:
No history is available.
file or directory '/usr/src/java-code/src/main/proto', not found
:processResources (Thread[Daemon worker,5,main]) completed. Took 0.022 secs.
:classes (Thread[Daemon worker,5,main]) started.
> Task :classes
Skipping task ':classes' as it has no actions.
:classes (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:bootRun (Thread[Daemon worker,5,main]) started.
> Task :bootRun
Caching disabled for task ':bootRun' because:
Build cache is disabled
Task ':bootRun' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Excluding []
Starting process 'command '/opt/java/openjdk/bin/java''. Working directory: /usr/src/java-code Command: /opt/java/openjdk/bin/java -Xverify:none -XX:TieredStopAtLevel=1 -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /usr/src/java-code/build/classes/java/main:/usr/src/java-code/build/resources/main:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/2.3.0.RELEASE/63e909ec18045377f5bcbedbf29f54691dc54ba0/spring-boot-autoconfigure-2.3.0.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/2.3.0.RELEASE/52fabd810811f5352ebf6a0a7049550f7d4ec1b9/spring-boot-2.3.0.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/2.3.0.RELEASE/fe2b3809c5763dd7fe02ab174ebe5ee9ed708fbe/spring-boot-starter-logging-2.3.0.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-aop/2.3.0.RELEASE/837e8fce81560ec58fc16bf6f889da617104e109/spring-boot-starter-aop-2.3.0.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/2.3.0.RELEASE/7b65ef478cf4d21ec70432e11055c2c83371b305/spring-boot-starter-2.3.0.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-all/1.29.0/a11cfeb154dd001f2e81baeb73b115e7f470b6c3/grpc-all-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.github.tomakehurst/wiremock-standalone/2.26.3/245c6efae2cbcb4e4f3457caf3d1c030cbaf2eb5/wiremock-standalone-2.26.3.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/jakarta.annotation/jakarta.annotation-api/1.3.5/59eb84ee0d616332ff44aba065f3888cf002cd2d/jakarta.annotation-api-1.3.5.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/5.2.6.RELEASE/f8f4420f268b054db12bf0dc7128adc09ab39a7/spring-context-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/5.2.6.RELEASE/84fffb7cad5816763683a3f251f942aa9f667a7e/spring-aop-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.6.RELEASE/d1b4c338e52dac001a48e29a605bb8f73572ad84/spring-beans-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/5.2.6.RELEASE/ae0bc9fdf6cf08d885b9aee26c21efa24245d46c/spring-expression-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.6.RELEASE/5533695a01f5a1163428932abf6c5ba70e837a2d/spring-core-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.26/a78a8747147d2c5807683e76ec2b633e95c14fe9/snakeyaml-1.26.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.9.5/1740dc9140103b796d1722668805fd4cf852780c/aspectjweaver-1.9.5.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-xds/1.29.0/1cc624ce262945a346b44416c846f4e05b63fe37/grpc-xds-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-alts/1.29.0/aa559eb5550bb772e42665c271cfe4dfcf22116f/grpc-alts-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-auth/1.29.0/aa89399565038ca930510b8428588cc919086eba/grpc-auth-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-grpclb/1.29.0/98635bf61b76cfdc3b38442290d4939120f9f51c/grpc-grpclb-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-netty/1.29.0/82b276b2c142dca48915d072a30cc7246ce5ea4b/grpc-netty-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-okhttp/1.29.0/59a87fe1edf855a68af5998ab46df6abf83854c8/grpc-okhttp-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-services/1.29.0/88f6fedb0f82a83dfeff246e3c63448812266bc/grpc-services-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-testing/1.29.0/6c3696c81bee940e2ccb25158340b1cd38765c40/grpc-testing-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-netty-shaded/1.29.0/80078c0aec3f2146ce94b5c0bddd722fa1f8e502/grpc-netty-shaded-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-core/1.29.0/b051a14a67c97bb9bbe0b9a03b5d7e7080e7b960/grpc-core-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.opencensus/opencensus-proto/0.2.0/c05b6b32b69d5d9144087ea0ebc6fab183fb9151/opencensus-proto-0.2.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-protobuf/1.29.0/57a50ff72c0da333c31ad45616ea17f7d3b91b1c/grpc-protobuf-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-stub/1.29.0/2ded7df15689f2e606189456a91f7a9e1da9feee/grpc-stub-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-protobuf-lite/1.29.0/22e5ff00b942ee573c9dbadfc5e690b151a6d5e4/grpc-protobuf-lite-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-api/1.29.0/4f067a7b1657ad95c00fe958e8a66c8f8446c9f/grpc-api-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.auth/google-auth-library-oauth2-http/0.20.0/f33d4d6c91a68826816606a2208990eea93fcb2a/google-auth-library-oauth2-http-0.20.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.http-client/google-http-client-jackson2/1.34.0/417e7f7e88376fbca6073264da97d201611acf1f/google-http-client-jackson2-1.34.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.http-client/google-http-client/1.34.0/263190d4ea87727af0d632d40ee4dc40716b1597/google-http-client-1.34.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.opencensus/opencensus-contrib-http-util/0.24.0/6d96406c272d884038eb63b262458df75b5445/opencensus-contrib-http-util-0.24.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.opencensus/opencensus-api/0.24.0/f974451b19007ce820f433311ce8adb88e2b7d2c/opencensus-api-0.24.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.grpc/grpc-context/1.29.0/1d8a441110f86f8927543dc3007639080441ea3c/grpc-context-1.29.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/junit/junit/4.13/e49ccba652b735c93bd6e6f59760d8254cf597dd/junit-4.13.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.11.0/f84302e14648f9f63c0c73951054aeb2ff0b810a/jackson-core-2.11.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-to-slf4j/2.13.2/7e2845170ed4fdeb87f1fdc9131b743c61645da3/log4j-to-slf4j-2.13.2.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.13.2/567ea514dedd8679c429c5b5b39b0d67b6464c3c/log4j-api-2.13.2.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http2/4.1.49.Final/ca35293757f80cd2460c80791757db261615dbe7/netty-codec-http2-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.1.49.Final/6a2064cc62c7d18719742e1e101199c04c66356c/netty-handler-proxy-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.49.Final/4f30dbc462b26c588dffc0eb7552caef1a0f549e/netty-codec-http-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.49.Final/c73443adb9d085d5dc2d5b7f3bdd91d5963976f7/netty-handler-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.1.49.Final/df75527823f9fd13f6bd9d9098bd9eb786dcafb5/netty-codec-socks-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.49.Final/20218de83c906348283f548c255650fd06030424/netty-codec-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport/4.1.49.Final/415ea7f326635743aec952fe2349ca45959e94a7/netty-transport-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-buffer/4.1.49.Final/8e819a81bca88d1e88137336f64531a53db0a4ad/netty-buffer-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver/4.1.49.Final/eb81e1f0eaa99e75983bf3d28cae2b103e0f3a34/netty-resolver-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.1.49.Final/927c8563a1662d869b145e70ce82ad89100f2c90/netty-common-4.1.49.Final.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jcl/5.2.6.RELEASE/47b092c5c7a97ad330ae29d84d64e42c63a11b7a/spring-jcl-5.2.6.RELEASE.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.5.12/4023a2a80b64c25926911faf350b50cd2a29220f/httpclient-4.5.12.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.14/3cb1181b2141a7e752f5bdc998b7ef1849f726cf/commons-codec-1.14.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.10/e155460aaf5b464062a09c3923f089ce99128a17/commons-lang3-3.10.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java-util/3.11.0/fb8405f9a3126cf5c30eae0df4901a617a54cc32/protobuf-java-util-3.11.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/9180733b7df8542621dc12e21e87557e8c99b8cb/gson-2.8.6.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/2.2/3f2bd07716a31c395e2837254f37f21f0f0ab24b/hamcrest-core-2.2.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest/2.2/1820c0968dba3a11a1b30669bb1f01978a91dedc/hamcrest-2.2.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.13/853b96d3afbb7bf8cc303fe27ee96836a10c1834/httpcore-4.4.13.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/7c4f3c474fb2c041d8028740440937705ebb473a/logback-classic-1.2.3.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.2.3/864344400c3d4d92dfeb0a305dc87d953677c03c/logback-core-1.2.3.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.30/d58bebff8cbf70ff52b59208586095f467656c30/jul-to-slf4j-1.7.30.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.30/b5a4b6d16ab13e34a88fae84c35cd5d68cac922c/slf4j-api-1.7.30.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/28.2-android/e11db6e27f5d1ec19826848a865c496c798398fa/guava-28.2-android.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.errorprone/error_prone_annotations/2.3.4/dac170e4594de319655ffb62f41cbd6dbb5e601e/error_prone_annotations-2.3.4.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/io.perfmark/perfmark-api/0.19.0/2bfc352777fa6e27ad1e11d11ea55651ba93236b/perfmark-api-0.19.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.2/25ea2e8b0c338a877313bd4672d3fe056ea78f0d/jsr305-3.0.2.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.codehaus.mojo/animal-sniffer-annotations/1.18/f7aa683ea79dc6681ee9fb95756c999acbb62f5d/animal-sniffer-annotations-1.18.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.auth/google-auth-library-credentials/0.20.0/87a91a373e64ba5c3cdf8cc5cf54b189dd1492f8/google-auth-library-credentials-0.20.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.android/annotations/4.1.1.4/a1678ba907bf92691d879fef34e1a187038f9259/annotations-4.1.1.4.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/3.11.0/992c02b8fba83bdda5602c12b5eee31e468b3069/protobuf-java-3.11.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.7.4/f2c0782541a970b3c15f5e742999ca264b34d0bd/okhttp-2.7.4.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.api.grpc/proto-google-common-protos/1.17.0/40471bf2045151c17da555889b5550fcfd5224a8/proto-google-common-protos-1.17.0.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.guava/failureaccess/1.0.1/1dcf1de382a0bf95a3d8b0849546c88bac1292c9/failureaccess-1.0.1.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/b421526c5f297295adef1c886e5246c39d4ac629/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker-compat-qual/2.5.5/435dc33e3019c9f019e15f01aa111de9d6b2b79c/checker-compat-qual-2.5.5.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.j2objc/j2objc-annotations/1.3/ba035118bc8bac37d7eff77700720999acd9986d/j2objc-annotations-1.3.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/org.conscrypt/conscrypt-openjdk-uber/2.2.1/59a346d64c0ddca750c5c877e274d5e6278e53ce/conscrypt-openjdk-uber-2.2.1.jar:/home/gradle/.gradle/caches/modules-2/files-2.1/com.google.auto.value/auto-value-annotations/1.7/5be124948ebdc7807df68207f35a0f23ce427f29/auto-value-annotations-1.7.jar io.adven.grpc.wiremock.GrpcWiremock
Successfully started process 'command '/opt/java/openjdk/bin/java''
2021-01-21 16:54:01.973 INFO 107 --- [ main] io.adven.grpc.wiremock.GrpcWiremock : Starting GrpcWiremock on e5bf40a34c6a with PID 107 (/usr/src/java-code/build/classes/java/main started by root in /usr/src/java-code)
2021-01-21 16:54:01.977 INFO 107 --- [ main] io.adven.grpc.wiremock.GrpcWiremock : No active profile set, falling back to default profiles: default
2021-01-21 16:54:02.584 INFO 107 --- [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final io.grpc.ServerServiceDefinition api.wallet.WalletServiceGrpc$WalletServiceImplBase.bindService()] because it is marked as final: Consider using interface-based JDK proxies instead!
2021-01-21 16:54:02.603 INFO 107 --- [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final io.grpc.ServerServiceDefinition api.wallet.BalanceServiceGrpc$BalanceServiceImplBase.bindService()] because it is marked as final: Consider using interface-based JDK proxies instead!
2021-01-21 16:54:03.157 INFO 107 --- [ main] wiremock.org.eclipse.jetty.util.log : Logging initialized @2306ms
2021-01-21 16:54:03.210 INFO 107 --- [ main] w.org.eclipse.jetty.server.Server : jetty-9.2.z-SNAPSHOT
2021-01-21 16:54:03.227 INFO 107 --- [ main] w.o.e.j.server.handler.ContextHandler : Started w.o.e.j.s.ServletContextHandler@17143b3b{/__admin,null,AVAILABLE}
2021-01-21 16:54:03.228 INFO 107 --- [ main] w.o.e.j.server.handler.ContextHandler : Started w.o.e.j.s.ServletContextHandler@64d4f7c7{/,null,AVAILABLE}
2021-01-21 16:54:03.250 INFO 107 --- [ main] w.o.e.j.s.NetworkTrafficServerConnector : Started NetworkTrafficServerConnector@46aa712c{HTTP/1.1}{0.0.0.0:8888}
2021-01-21 16:54:03.250 INFO 107 --- [ main] w.org.eclipse.jetty.server.Server : Started @2400ms
2021-01-21 16:54:03.352 INFO 107 --- [ main] io.adven.grpc.wiremock.GrpcWiremock : Started GrpcWiremock in 1.94 seconds (JVM running for 2.502)
2021-01-21 16:54:03.529 INFO 107 --- [ main] io.adven.grpc.wiremock.GrpcWiremock : Started ServerImpl{logId=2, transportServers=[NettyServer{logId=1, address=0.0.0.0/0.0.0.0:50000}]}
Registered services:
* grpc.reflection.v1alpha.ServerReflection
* api.wallet.WalletService
* api.wallet.BalanceService
Oooh yes, sorry for that, the .
worked. Closing the issue. Thanks for the help @Adven27
My proto file.
We are getting this error on starting wiremock server.
Need help.