Open al3x3i opened 1 year ago
It says, [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Try these steps to resolve:
Kindly notify, if you experience the same error again.
@vchikoti1998
Still does not work.
-> If I try to update an existing Lambda Function by clicking "Update Function Code" in IntelliJ it works fine.
-> If I try to deploy by using a sam template (template.yaml in the same project) it fails because of "Running JavaMavenWorkflow:MavenBuild" error. For me, it is very strange. My workaround is just to go to the terminal, call sam build
and then "Sync Serverless Application"
If I can build the project by sam build
in Linux terminal, I assume all configurations are fine.
Is there a place where can I collect logs from your plugin?
Describe the bug Unable to
Sync Servlets Application
in IntelliJ. It fails while building the project. Thesam build
command works in the terminal as expected without any error. If I build the project first in terminal and then run theSync Servlets Application
the operation will be completed becausesam
uses build cache (from.aws-sam
in the project folder) (Note: java is installed by sdkman). Unfortunately I cannot say whether it is related to a specific version or not, because I am using the AWS toolkit for the first timeTo reproduce 1
sam init
Expected behavior Can build and deploy to the AWS by AWS toolkit
Your Environment
Additional context