You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/09/19 14:57:23 UTC

[GitHub] [shardingsphere] longfangwei opened a new issue, #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

longfangwei opened a new issue, #21074:
URL: https://github.com/apache/shardingsphere/issues/21074

   shardingsphere5.1.1,druid 1.2.8  
   
   If rules key is added, the project startup will report Caused by: java. lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required. If rules key is not added, the user-defined table splitting policy will not be followed
   


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

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


[GitHub] [shardingsphere] longfangwei commented on issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
longfangwei commented on issue #21074:
URL: https://github.com/apache/shardingsphere/issues/21074#issuecomment-1260308860

   这个不是mysql驱动吗?
   ![image](https://user-images.githubusercontent.com/52698019/192674061-dfa42b7f-cf35-4ce8-874a-a36548bdc7b5.png)
   我这里也是有的,现在觉得是多数据源与shardingsphere兼容的问题


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


[GitHub] [shardingsphere] longfangwei closed issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
longfangwei closed issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
URL: https://github.com/apache/shardingsphere/issues/21074


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


[GitHub] [shardingsphere] linghengqian commented on issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #21074:
URL: https://github.com/apache/shardingsphere/issues/21074#issuecomment-1260323464

   @fakerme 
   
   - If you plan to discuss, you should open a new issue with enough information.  I don't know what `多数据源` you are referring to.


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


[GitHub] [shardingsphere] fakerme commented on issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
fakerme commented on issue #21074:
URL: https://github.com/apache/shardingsphere/issues/21074#issuecomment-1253465275

     这个配置要加上 我是原来用的dynamic 改为shardingsphere 然后报错,加上这个就没毛病了
   <dependency>
               <groupId>mysql</groupId>
               <artifactId>mysql-connector-java</artifactId>
               <version>8.0.30</version>
           </dependency>
   version 改为你自己的 mysql version


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


[GitHub] [shardingsphere] longfangwei commented on issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
longfangwei commented on issue #21074:
URL: https://github.com/apache/shardingsphere/issues/21074#issuecomment-1251749433

   ok


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


[GitHub] [shardingsphere] linghengqian commented on issue #21074: Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #21074:
URL: https://github.com/apache/shardingsphere/issues/21074#issuecomment-1251167646

   - You must provide a minimal reproducible example and provide reproducible steps based on the issue template. ShardingSphere does not use `sqlSessionFactory` or `sqlSessionTemplate`.


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