Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample-apps/java-basic - incompatible types: java.lang.Void cannot be converted to java.lang.String #424

Open
pf512 opened this issue Mar 4, 2023 · 0 comments

Comments

@pf512
Copy link

pf512 commented Mar 4, 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.

@pf512 pf512 closed this as completed Mar 4, 2023
@pf512 pf512 reopened this Mar 4, 2023
@mwunderl 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
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

No branches or pull requests

1 participant