the SpringBoot project can run using the Java entry normal class, but when starting by running the Maven command or performing other operations, such as using the Maven command to package the project, it will automatically delete the methods in the custom DAO. XxxMapper is automatically generated through mybatis generator, and the methods in mapper are shown in the figure
.
selectByUsernameUserMaper.xmlMavenselectByUsername
beginners learn, ask for answers! The worker"s body thanks to the waist!