You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Rain-ziyu (via GitHub)" <gi...@apache.org> on 2023/03/30 01:45:23 UTC

[GitHub] [shardingsphere] Rain-ziyu commented on issue #24891: The project is packaged into a jar and fails to run

Rain-ziyu commented on issue #24891:
URL: https://github.com/apache/shardingsphere/issues/24891#issuecomment-1489566864

   > Hi @Rain-ziyu I want to investigate this issue, can you provide a reproducible demo?
   
   The problem is that in this project of mine
   [](https://github.com/Rain-ziyu/cloud_sofa_server.git)
   , everything is normal when I start server_blog locally, but when I compile it into a jar and run it, the above problem occurs.
   I also found that when I use mapper in a PostConstruct method then the above problem disappears.
   ![image](https://user-images.githubusercontent.com/70049441/228706324-bba0cac8-2ab2-46be-a408-64a509985f4f.png)
   I tried to test mybatisplus and shardingsphere-jdbc-core-spring-boot-starter separately, everything works fine, so I can't provide a simple reproduction, I will try my best
   


-- 
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-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org