[ https://issues.apache.org/jira/browse/WICKET-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888603#comment-15888603 ]
Mikhail Fursov commented on WICKET-6329: ---------------------------------------- I know this is not the best option, but I believe it is better than having a package name conflict: - If the only problem with old 'org.apache.wicket.ajax.json' is a license of original code why not replacing the code with open-json implementation and keeping the package name within wicket namespace'? Most customers will not notice the change. Those who do (like users of XML class) will have an option to migrate to any version they want without conflict. > 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)