Welcome to your CDK Java project!

This is a blank project for Java development with CDK.

The cdk.json file tells the CDK Toolkit how to execute your app.

It is a Maven based project, so you can open this project with any Maven compatible Java IDE to build and run tests.

Useful commands

  • mvn package compile and run tests
  • cdk ls list all stacks in the app
  • cdk synth emits the synthesized CloudFormation template
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk docs open CDK documentation

Enjoy!


[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project cdk-codebuild-example: An exception occured while executing the Java class. If the Project's source is NoSource, you need to provide a concrete buildSpec
[ERROR] Error: If the Project's source is NoSource, you need to provide a concrete buildSpec
[ERROR]     at new Project (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-kernel-dMgS7T/node_modules/@aws-cdk/aws-codebuild/lib/project.js:265:19)
[ERROR]     at /private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7932:49
[ERROR]     at Kernel._wrapSandboxCode (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:8420:19)
[ERROR]     at Kernel._create (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7932:26)
[ERROR]     at Kernel.create (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7676:21)
[ERROR]     at KernelHost.processRequest (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7456:28)
[ERROR]     at KernelHost.run (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7394:14)
[ERROR]     at Immediate._onImmediate (/private/var/folders/xh/09pnvx9n24q3fzdxnymtk7cm0000gn/T/jsii-java-runtime7503747261229891135/jsii-runtime.js:7397:37)
[ERROR]     at processImmediate (internal/timers.js:439:21)
[ERROR] -> [Help 1]