You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mwunderl
changed the title
java basic - incompatible types: java.lang.Void cannot be converted to java.lang.String
sample-apps/java-basic - incompatible types: java.lang.Void cannot be converted to java.lang.String
Oct 31, 2023
When I try to run the deployment script:
./2-deploy.sh mvn
I get the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project java-basic: Compilation failure [ERROR] <path>/aws-lambda-developer-guide/sample-apps/java-basic/src/test/java/example/InvokeTest.java:[22,42] incompatible types: java.lang.Void cannot be converted to java.lang.String
This is on a M1 MacBook using both Amazon Corretto 8 and 11.
The text was updated successfully, but these errors were encountered: