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
   > 
   > 
![image](https://private-user-images.githubusercontent.com/56506697/332438929-def748fa-123c-4e4f-94d0-afbdfca4d692.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYzNjE3ODMsIm5iZiI6MTcxNjM2MTQ4MywicGF0aCI6Ii81NjUwNjY5Ny8zMzI0Mzg5MjktZGVmNzQ4ZmEtMTIzYy00ZTRmLTk0ZDAtYWZiZGZjYTRkNjkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTIyVDA3MDQ0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZlY2I4ZGM4NmY2YTY0MmNiMzkzOTZiNWUxMWI5ZmI5MDBkMmY5YmYxYmVlZTJhMTRmYWE5NDY0Mjk2YzMzODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M4u7DTxGUKZ4ZiTmsYj-GeaoswULRIZdJqVkWKTIl8U)
   
   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]

Reply via email to