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

Martin Grigorov commented on WICKET-6329:
-----------------------------------------

The old version (or more correctly the library with Maven groupId=org.json) has 
been banned by Apache Legal: https://www.apache.org/legal/resolved#json.
It has been replaced with https://github.com/tdunning/open-json but the problem 
is that both use org.json as package name.
AFAIK OpenJson tries to provide the same APIs but with Apache friendly licence. 
IMO an issue should be opened at https://github.com/tdunning/open-json.

> 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