You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "yanghtGithub (via GitHub)" <gi...@apache.org> on 2024/01/11 06:53:58 UTC
[I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
yanghtGithub opened a new issue, #29699:
URL: https://github.com/apache/shardingsphere/issues/29699



--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "ferylork (via GitHub)" <gi...@apache.org>.
ferylork commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-2029441113
I just checked the source code and it's not related to shardingjdbc. It's a problem with Spring parsing the configuration file
The field name (key) of yml does not support underline_
The name of the sharding algorithm contains an underline
```
shardingAlgorithms:
online_task_image_defect_inline: //contains underline, illegal, so the type field cannot be obtained, returning null
type: INLINE
```
--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-1937854981
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-2027700839
> 这个问题为什么没有解决就关闭了?
@ferylork
- **The first reason is that the issue author has not responded.** Lack of communication will not solve anything. A GitHub actions job is always monitoring such issues with missing responses and adding issue tags.
- Secondly, the issue lacks a reproducible unit test, and the screenshot lacks more specific information. And the spring boot starter has been removed in a series of refactorings.
> 同版本5.2.1,把sharding移动到和datasource同一级就不会报错了
> 按要求(和提示)是在rules下,但是放rules下就报这个错
- If you encounter such problems, you should bring unit tests that use h2database or testcontainers-java to write the original data source, and open a new issue.
--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "ferylork (via GitHub)" <gi...@apache.org>.
ferylork commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-2027346355
这个问题为什么没有解决就关闭了?
同版本5.2.1,把sharding移动到和datasource同一级就不会报错了
按要求(和提示)是在rules下,但是放rules下就报这个错
--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "yanghtGithub (via GitHub)" <gi...@apache.org>.
yanghtGithub commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-1886408547
i dont know how to resolve it
Which one configuration is wrong
--
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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #29699:
URL: https://github.com/apache/shardingsphere/issues/29699#issuecomment-1888841915
Hi @yanghtGithub
The log shows that `type` is missing in the algorithm configuration. Please provide the complete rule 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
Re: [I] java.lang.IllegalArgumentException: Type is required. [shardingsphere]
Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #29699: java.lang.IllegalArgumentException: Type is required.
URL: https://github.com/apache/shardingsphere/issues/29699
--
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