Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Code Share Comments
Preferences
Topic Started
Replies Created
Reply to: Set up Callback Listener in Salesforce
Monday, July 26, 2021 at 10:19amReply to: Hi bthirupathireddy, …
Tuesday, July 27, 2021 at 10:02amThanks Duo for replying.
Initially onespan package was present in acc.onespan only later we moved entire folder to new path which is gw.accelerators.onespan.
I have gone thorough the tomcat logs and able to identify the root cause of the issue. we have folder json in onespan package which has all json related java classes.
There is a reference "gw.accelerators.onespan.json.Json" in OneSpanJsonUtil.gs class which is considering as invalid by the JVM and throwing following exception
INFO: java.io.IOException: gw.lang.parser.exceptions.ParseResultsException: OneSpanJSONUtils.gs
Errors:
"gw.accelerators.onespan.json.Json" is not a valid type.
how to make this class compiled by JVM ? please suggest
Reply to: If we are talking about the…
Tuesday, July 27, 2021 at 10:36amI am not sure When we got the onespan package from GuideWire "uses gw.lang.reflect.json.Json" reference was commented in onespanJsonutilclass.gs
Reply to: Getting NoClassDefFoundError: gw/accelerators/onespan/OneSpanJSONUtils
Tuesday, July 27, 2021 at 10:48amIt's strange we have json folder in our onespan code package. I have attached my folder structure. Can you share onespanJsonutil.gs class references and path where they are getting referenced from ?
Reply to: Getting NoClassDefFoundError: gw/accelerators/onespan/OneSpanJSONUtils
Tuesday, July 27, 2021 at 11:01amIn your class you are not even referencing "uses acc.onespan.json.Json " you are using uses gw.lang.reflect.json.Json. But in my local I don't have this file in respective jar file. Will you please share the jar file where gw.lang.reflect.json.Json getting referenced ?
Hi Duo,
Can you respond to this question if you have any insights on this issue ?
https://community.onespan.com/forum/getting-noclassdeffounderror-gwacceleratorsonespanonespanjsonutils