Skip to content

Conversation

@abrooksv
Copy link
Contributor

Issue #, if available:

Description of changes:
The Gradle wrapper system requires the gradle-wrapper jar to be added, else you get a ClassNotFound exception

sam build
2019-03-13 11:28:54 Building resource 'HelloWorldFunction'
2019-03-13 11:28:54 /Users/alfredbr/IdeaProjects/SamJavaGradle8/HelloWorldFunction/gradlew failed to return a version string using the '-v' option. The workflow is unable to check that the version of the JVM used is compatible with AWS Lambda.
2019-03-13 11:28:54 Running JavaGradleWorkflow:GradleBuild
Build Failed
Error: JavaGradleWorkflow:GradleBuild - Gradle Failed: Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sriram-mv sriram-mv self-requested a review March 13, 2019 19:13
@jfuss jfuss merged commit 655c4a7 into aws:develop Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants