aws-samples / aws-lambda-java-workshop Goto Github PK
View Code? Open in Web Editor NEWThis project contains the code for the Java on AWS Lambda workshop
License: MIT No Attribution
This project contains the code for the Java on AWS Lambda workshop
License: MIT No Attribution
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?
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.