heliang666s commented on issue #14781:
URL: https://github.com/apache/dubbo/issues/14781#issuecomment-2416597235

   This is not a bug; it is intentionally designed this way. Since proto files 
are used, the protoc compiler from the Dubbo plugin will be invoked during the 
compilation phase to generate Java files. For the specific implementation, 
refer to org.apache.dubbo.gen.AbstractGenerator.
   
   In simple terms, you need to ensure that the import paths in both the 
provider and consumer match the java_package exactly. The reason you 
encountered errors after modifying the java_package is that the original import 
paths were not updated accordingly. As a result, the import statements could 
not find the corresponding files, causing the startup to fail.
   @11D-Beyonder


-- 
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