You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/06/01 13:37:08 UTC

[GitHub] [incubator-shenyu] luoweijr opened a new issue, #3472: [Question]

luoweijr opened a new issue, #3472:
URL: https://github.com/apache/incubator-shenyu/issues/3472

   ### Question
   
   I upgrade my shenyu version from **2.3.0** to **2.5.0-SNAPSHOT**. When I start shenyu-admin, get a error as below:  
   
   **No suitable driver found for jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=utf-8&useSSL=false**  
   
   I check the pom.xml in parent module, the scope tag of mysql-connector-java is provided. I execute **mvn dependency:tree** in shenyu-admin module, the scope of mysql is provided too.  When I delete scope tag of mysql in parent module or change scope tag in shenyu-admin module to runtime, shenyu-admin can start successfully!  
   
   I am very confused.Why specify provided scope in parent module? Are there some special reasons?


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

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


[GitHub] [incubator-shenyu] luoweijr commented on issue #3472: [Question]

Posted by GitBox <gi...@apache.org>.
luoweijr commented on issue #3472:
URL: https://github.com/apache/incubator-shenyu/issues/3472#issuecomment-1143727457

   > you run with mysql in idea? please config your idea, add provide scope to classpath. ![image](https://user-images.githubusercontent.com/20184263/171432346-d8dc8726-00c9-418c-8a89-b2f437704612.png)
   
   I try this and it works well. thx


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

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


[GitHub] [incubator-shenyu] moremind commented on issue #3472: [Question]

Posted by GitBox <gi...@apache.org>.
moremind commented on issue #3472:
URL: https://github.com/apache/incubator-shenyu/issues/3472#issuecomment-1143704158

   you run with mysql in idea? please config your idea, add provide scope to classpath.
   ![image](https://user-images.githubusercontent.com/20184263/171432346-d8dc8726-00c9-418c-8a89-b2f437704612.png)
   


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

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


[GitHub] [incubator-shenyu] luoweijr closed issue #3472: [Question]

Posted by GitBox <gi...@apache.org>.
luoweijr closed issue #3472: [Question] <dependency of mysql in parent module>
URL: https://github.com/apache/incubator-shenyu/issues/3472


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

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