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/03/24 01:23:46 UTC
[GitHub] [shardingsphere] zhao190775705 opened a new issue #16318: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService
zhao190775705 opened a new issue #16318:
URL: https://github.com/apache/shardingsphere/issues/16318
### Which version of ShardingSphere did you use?
A:ShardingSphere-JDBC5.0
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
A:ShardingSphere-JDBC
### Expected behavior
A:insert succeed
### Actual behavior
```
### The error may involve com.easybii.api.mapper.OperationRecordMapper.insertSelective-Inline
### The error occurred while setting parameters
### SQL: insert into operation_record ( `account`, customer_type, operation_time, operation_type, operation_content, is_delete, create_time, status, company_id, associated_id ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: org.apache.shardingsphere.spi.exception.ServiceProviderNotFoundException: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService`.
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96) ~[mybatis-spring-2.0.7.jar:2.0.7]
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441) ~[mybatis-spring-2.0.7.jar:2.0.7]
at com.sun.proxy.$Proxy222.insert(Unknown Source) ~[?:?]
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272) ~[mybatis-spring-2.0.7.jar:2.0.7]
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62) ~[mybatis-3.5.9.jar:3.5.9]
at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145) ~[mybatis-3.5.9.jar:3.5.9]
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86) ~[mybatis-3.5.9.jar:3.5.9]
at com.sun.proxy.$Proxy260.insertSelective(Unknown Source) ~[?:?]
at com.easybii.api.service.impl.OperationRecordServiceImpl.add(OperationRecordServiceImpl.java:86) ~[classes/:0.0.1-SNAPSHOT]
at com.easybii.api.service.impl.OperationRecordServiceImpl.add(OperationRecordServiceImpl.java:38) ~[classes/:0.0.1-SNAPSHOT]
at com.easybii.api.service.easybiiWeb.impl.WebProductNewServiceImpl.downloadQuotation(WebProductNewServiceImpl.java:1147) ~[classes/:0.0.1-SNAPSHOT]
at com.easybii.api.web.controller.easybiiWeb.WebProductNewController.downloadQuotation(WebProductNewController.java:1660) ~[classes/:0.0.1-SNAPSHOT]
at com.easybii.api.web.controller.easybiiWeb.WebProductNewController$$FastClassBySpringCGLIB$$2abb45d0.invoke(<generated>) ~[classes/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:52) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.13.RELEASE.jar:4.3.13.RELEASE]
```
### Reason analyze (If you can)
A: occasionally appear, can you check?
--
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] zhao190775705 commented on issue #16318: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService
Posted by GitBox <gi...@apache.org>.
zhao190775705 commented on issue #16318:
URL: https://github.com/apache/shardingsphere/issues/16318#issuecomment-1077142849
I can't reproduce the problem?
config It shouldn't be a problem
--
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] zhao190775705 commented on issue #16318: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService
Posted by GitBox <gi...@apache.org>.
zhao190775705 commented on issue #16318:
URL: https://github.com/apache/shardingsphere/issues/16318#issuecomment-1076975300
## sql
```
insert into operation_record ( `account`, customer_type, operation_time, operation_type, operation_content, is_delete, create_time, status, company_id, associated_id ) values ( 'huayao4', 4, '2022-03-24 09:06:40.658', 4, 'xxxxxxxxxxxxxxx', 0, '2022-03-24 09:06:40.658', 1, 47903, 146607 )
```
--
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] zjcnb commented on issue #16318: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService
Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #16318:
URL: https://github.com/apache/shardingsphere/issues/16318#issuecomment-1077528669
@zhao190775705 Please provide your configuration.
--
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] devfat commented on issue #16318: No implementation class load from SPI `org.apache.shardingsphere.infra.datetime.DatetimeService
Posted by GitBox <gi...@apache.org>.
devfat commented on issue #16318:
URL: https://github.com/apache/shardingsphere/issues/16318#issuecomment-1077042375
Can you provide the ShardingSphere-JDBC configuration of your project?
--
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