I am working with an aws serverless architecture with spring boot application. When I some time build the project using sam build in intellij, I am getting the following error.
Building codeuri: . runtime: java11 metadata: {} functions: ['MedisproutApiFunction']
Running JavaMavenWorkflow:CopySource
Running JavaMavenWorkflow:MavenBuild
Build Failed
Error: JavaMavenWorkflow:MavenBuild - 'utf-8' codec can't decode byte 0xbb in position 150889: invalid start byte
It is not showing any other error details. If I remove the newly made code changes (even though it does not had any encoding code) this error will not come. Please help me to fix this.
Already checked this link, but no answer found.
If you don't have test in you app, just add one test with assertTrue(true).