-
Notifications
You must be signed in to change notification settings - Fork 332
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
java.lang.IllegalStateException: Converter class br.com.caelum.vraptor.converter.ByteConverter #1086
Comments
hey @surajchhetry this is only happening when you add the post method? I mean, removing it solves completely the problem? (just trying to understand the unexpected behavior, to reproduce it later) besides that, could you tell us which vraptor version and plugins you're using? |
Hi @Turini , I am using vraptor 4.2.0-RC5 without any plugin. |
Hi @Turini , I had the same issue and in my case was the wrong version of paranamer that was lower than 2.7 |
@mhbpcuiaba yes, it may cause problems -- especially with java 8+ be default VRaptor uses Paranamer 2.8 as a compile dependency. if you wanna help by sending a pull-request, it will be very welcome (; |
Hi,
If I add a Post method in controller with parameter I am getting below exception.
Environments:
JDK : 1.8
Wildfly 10.01
java.lang.IllegalStateException: Converter class br.com.caelum.vraptor.converter.ByteConverter have same priority than class br.com.caelum.vraptor.converter.ByteConverter
com.google.common.base.Preconditions.checkState(Preconditions.java:469)
The text was updated successfully, but these errors were encountered: