-
Notifications
You must be signed in to change notification settings - Fork 38.5k
The C namespace parameters in do not match in Spring 6.1 #33219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am not sure why you're using If you want support, take the time to provide more information. You may want also to review the upgrade notes and this section in particular. |
Thank you for your response. I apologize for not being able to describe my problem clearly. The reason I'm using version 6.1.10 is that I'm a beginner with Spring, and I directly added the dependencies to my project from GitHub. Currently, I'm encountering an issue with using the c namespace for injection. I found that the values injected through "c:name", "c:age" are incorrect. For example, with c:name="John" and c:age="23", the expected result should be name="John" and age="23". However, the actual result is name="23" and age="John". I am not sure if this is an issue on my end, as I have checked multiple times. I also tested with version 6.1.5-SNAPSHOT, but the result was the same. Additionally, if the types of two properties are different, such as String name and int age, it could lead to type mismatch issues, which may result in an "UnsatisfiedDependencyException "exception. Thank you again for your reply. |
Hi @hnx-ctrl, Congratulations on opening your first issue ever on GitHub! 👍 Unfortunately, we do not use this issue tracker for general questions like that, and the following is our official policy.
In light of the above, I am closing this issue. In any case, it appears to me that the names of the constructor parameters might not be available in the compiled byte code. Consider compiling your code with the Regards, Sam |
Affects: <Spring Framework version>
Spring 6.1.5-SNAPSHOT



Why do the results of name and gender not match?
The text was updated successfully, but these errors were encountered: