When I run the app I get errors in the generated class model.
I generated the models from the backend using this command
npx @aws-amplify/backend-cli generate graphql-client-code --format modelgen --model-target java --out app/src/main/java --app-id <your-amplify-app-id> --branch main
My schema file