Git Product home page Git Product logo

aws-lambda-java-workshop's Issues

com.unicorn.store.StreamLambdaHandler not found

Hi,
I am trying the workshop code and focusing only on the Unicorn store Spring part.

After setting up infra, I have run

./deploy.sh spring

This has deployed the components. And when invoking the prod api gateway url - getting this error:

Class not found: com.unicorn.store.StreamLambdaHandler: java.lang.ClassNotFoundException
java.lang.ClassNotFoundException: com.unicorn.store.StreamLambdaHandler
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at java.base/java.lang.Class.forName(Unknown Source)

I cannot find this class in the repository. Can you please advise on this?

GraalVM sample for a restful spring application.

Hey I have been trying to convert and deploy software/unicorn-store-spring to graalvm native image to lambda but I can't figure it out yet. I have been at it for some days now so if a sample can be made. Thank you in advance.

Initial Infrastructure setup doesn't work on a Windows machine

Running the infrastructure-setup.sh doesn't work on a Windows machine. The issue is with the cdk.json file and how the app is specified. Currently, it is set to:

./mvnw -e -q compile exec:java

This fails on Windows due to the forward slash.

If I run a brand new cdk init app --language=java on a Windows machine the cdk.json file is set to:

mvn -e -q compile exec:java

Propose updating the default to support Windows, Mac and Linux.

Error while runnning setup.sh in Cloud9

I encountered a problem while working on the workshop using Cloud9 with admin access IAM role. The script ./setup.sh failed to resize the EBS volume on EC2. I checked the service role that was created by Cloud9 - AWSServiceRoleForAWSCloud9, and I found out that it was missing the permission for DescribeVolumeModifications. How can I fix this issue? as service role cant be edited.

Another issue , after I comment out resize in setup.sh, I am able to proceed further and continue the unicorn -store lab but while running setup-infrastructure.sh, I get deployment failed.
Error : Unable to resolve AWS account to use , how do I set which account to use through Cloud9 environment ?
Need help with fixing this issue too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.