aws-lambda

dabrazhe 2020-01-19T22:22:58.024100Z

Is someone using Serverless Framework for deployment? Deployment to AWS goes perfectly fine. But I am unable to invoke the function locally like I used to with Cljs.

sls invoke local -f current --verbose
Serverless: In order to get human-readable output, please implement "toString()" method of your "ApiGatewayResponse" object.
Exception in thread "main"
java.lang.ExceptionInInitializerError

	at clojure.lang.Namespace.<init>(Namespace.java:34)
	at clojure.lang.Namespace.findOrCreate(Namespace.java:176)
	at clojure.lang.Var.internPrivate(Var.java:156)
	at aws_clojure_simple_http_endpoint.core.<clinit>(Unknown Source)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:374)
	at com.serverless.InvokeBridge.getInstance(InvokeBridge.java:69)
	at com.serverless.InvokeBridge.<init>(InvokeBridge.java:37)
	at com.serverless.InvokeBridge.main(InvokeBridge.java:150)
Caused by: <http://java.io|java.io>.FileNotFoundException: Could not locate clojure/core__init.class, clojure/core.clj or clojure/core.cljc on classpath.
	at clojure.lang.RT.load(RT.java:466)
	at clojure.lang.RT.load(RT.java:428)
	at clojure.lang.RT.doInit(RT.java:471)
	at clojure.lang.RT.&lt;clinit&gt;(RT.java:338)
	... 9 more