weimin0426 commented on issue #14226: URL: https://github.com/apache/dubbo/issues/14226#issuecomment-2124194155
> I think it should be the problem of your packaging method. You can refer to this project https://github.com/apache/dubbo-samples/tree/fce381c2c11f87805dede48c4f18a8e336698c1a/2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-jaxrs . The changes I made based on this project and the contents in the jar package after packaging are correct, you can refer to the packaging method of this project > >  yes,it happened when I try to build a single with-dependencies jars with maven conf: <build> <plugins> <!-- will be overwrited--> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>3.1.0</version> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass>benchmark.rpc.Server</mainClass> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <!-- this is used for inheritance merges --> <phase>package</phase> <!-- bind to the packaging phase --> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
