[ 
https://issues.apache.org/jira/browse/WICKET-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887197#comment-15887197
 ] 

Mikhail Fursov commented on WICKET-6329:
----------------------------------------

I believe that keeping the old version of JSON library in Wicket is a safier 
move.

> org.json migration issue
> ------------------------
>
>                 Key: WICKET-6329
>                 URL: https://issues.apache.org/jira/browse/WICKET-6329
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M4
>            Reporter: Mikhail Fursov
>            Priority: Critical
>
> My project uses both Wicket and Google Firebase.
> After migrating to Wicket8 M4 I have this issue:
> java.lang.NoSuchMethodError: 
> org.json.JSONStringer.object()Lorg/json/JSONWriter;
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:56)
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:45)
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJson(JsonMapper.java:25)
>       at 
> com.google.firebase.database.util.GAuthToken.serializeToString(GAuthToken.java:53)
>       at 
> com.google.firebase.database.core.JvmAuthTokenProvider$1.onComplete(JvmAuthTokenProvider.java:40)
>       at 
> com.google.firebase.tasks.OnCompleteCompletionListener$1.run(OnCompleteCompletionListener.java:37)
> Reason: Google libraries uses one library and Wicket uses another by the same 
> name. These 2 libraries are in conflict.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to