I encounter the error when I am following a tutorial, the most common solution is to change the encoding of the pom.xml
to UTF8 and explicitly state it. However, that does not work for me, luckily, I have a workable version of code that I can compare with.
I solve the problem by removing the mapper-locations:
in the
com/myProject/reggie/mapper/**application.yml
file. I added this because mybatis
does not work earlier (adding this to the yml file did not help). not sure why but at least now I can get the project running.
Top comments (0)