xuanyangyang opened a new issue #350: URL: https://github.com/apache/dubbo-samples/issues/350
错误信息:错误: 找不到或无法加载主类 org.apache.dubbo.gen.dubbo.Dubbo3Generator 详细信息如下: ``` [INFO] --------------< org.apache.dubbo:dubbo-samples-protobuf >--------------- [INFO] Building dubbo-samples-protobuf 1.0-SNAPSHOT [146/169] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dubbo-samples-protobuf --- [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile (default) @ dubbo-samples-protobuf --- [INFO] Skipping mojo execution for project with packaging type 'pom' [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ dubbo-samples-protobuf --- [INFO] Source directory: /Users/xuanyangyang/workspace/dubbo-samples/dubbo-samples-protobuf/build/generated/source/proto/main/java added. [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:test-compile (default) @ dubbo-samples-protobuf --- [INFO] Skipping mojo execution for project with packaging type 'pom' [INFO] [INFO] -----------------< org.apache.dubbo:protobuf-provider >----------------- [INFO] Building protobuf-provider 1.0-SNAPSHOT [147/169] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ protobuf-provider --- [INFO] Deleting /Users/xuanyangyang/workspace/dubbo-samples/dubbo-samples-protobuf/protobuf-provider/target [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile (default) @ protobuf-provider --- [INFO] Building protoc plugin: dubbo [INFO] Compiling 1 proto file(s) to /Users/xuanyangyang/workspace/dubbo-samples/dubbo-samples-protobuf/protobuf-provider/build/generated/source/proto/main/java [ERROR] PROTOC FAILED: 错误: 找不到或无法加载主类 org.apache.dubbo.gen.dubbo.Dubbo3Generator --dubbo_out: protoc-gen-dubbo: Plugin failed with status code 1. [ERROR] /Users/xuanyangyang/workspace/dubbo-samples/dubbo-samples-protobuf/protobuf-provider/src/main/proto/DemoService.proto [0:0]: 错误: 找不到或无法加载主类 org.apache.dubbo.gen.dubbo.Dubbo3Generator --dubbo_out: protoc-gen-dubbo: Plugin failed with status code 1. ``` 复现步骤: 1. git clone https://github.com/apache/dubbo-samples.git 2. cd dubbo-samples 3. mvn clean package -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org