DuplicateJsonObjectContextCustomizer object
can anyone tell me how to exclude it i am new
28 Replies
⌛ This post has been reserved for your question.
Hey @ASHٴ! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Are you using Maven or Gradle?
Currently, you have different dependencies that bring in both
org.json:json:jar:20250517 and com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1 which have the same code/are in conflict with each other
You can probably exclude the vaadin onemaven
Can you show your pom.xml?
and the output of
mvn dependency:tree
In the dependency causing the issue, you can probably do something like the following:
Can I see the output of
mvn dependency:tree? That should show that android-json somewhere
Alternatively, you can probably fix it by just removing
but to be honest, I'd rather exclude the other onei think i used this somewhere so warning came other one not using
ok
You have this:
Replace it by
ok
because that's where the problematic dependency comes from:
so you can exclude the transitive dependency causing the issue

oh I probably made a typo
yeah, it should be
groupId, not groupid
I updated the message from beforeoh ok np
fixed
Then you can try running
mvn clean verify to see whether it worked ;)2025-11-17T21:30:25.321+05:30 WARN 8564 --- [ restartedMain] org.hibernate.orm.deprecation : HHH90000025: MySQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
should i remove it
the warning tells you you don't need it so yes, you can remove it
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.But you are not allowed to do evil things with that one...
What if I am evil? Anyway, it would also be possible to use the enforcer plugin to ensure the dependency isn't there
Well technically the android-vaadin library is just a fork of the org.json from 2013 with a standard license and all bugs actually tested, while org.json started to actually fix these bug in recent years.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.2025-11-19T06:49:52.759+05:30 WARN 4244 --- [-10:housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-10 - Thread starvation or clock leap detected (housekeeper delta=6h17m41s489ms239µs400ns).
@dan1st | Daniel do u know about this
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.Did this happen on a laptop or a server?
@JavaBot is getting these every time I'm doing updates lol
This is likely due to you suspending a laptop or similar - and the program continuing 6h later
or maybe it could be something about your code bring in an endless loop or something blocking forever- if this happens on a server, create a thread dump
also it can happen when changing your system time or maybe timezone
maybe also if you are somehow manually obtaining DB connections and not releasing them
Yes my laptop throw this log
then it's probably just that - you suspended it, turned it on again and then it detected that the clock suddenly jumped by 6h
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.