You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/09/03 03:43:32 UTC

[GitHub] [openwhisk] zhaoyangmushiyi opened a new issue #4601: NoSuchMethodError:com/google/gson/reflect/TypeToken.getParameterized

zhaoyangmushiyi opened a new issue #4601: NoSuchMethodError:com/google/gson/reflect/TypeToken.getParameterized
URL: https://github.com/apache/openwhisk/issues/4601
 
 
   I can successfully run in my local environment, but when I run main method in Functions by java environment I get the error:
   "error": "An error has occured while invoking the action (see logs for details): java.lang.NoSuchMethodError: com/google/gson/reflect/TypeToken.getParameterized(Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)Lcom/google/gson/reflect/TypeToken; (loaded from file:/javaAction/build/libs/javaAction-all.jar by sun.misc.Launcher$AppClassLoader@a469db90) called from class com.cloudant.client.api.Database (loaded from file:/tmp/useraction2986047301306946649.jar by org.apache.openwhisk.runtime.java.action.JarLoader@c126b7e8)."
   
   I use maven and already added gson dependency.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services