Generate on project XX resource XX properties does not exist


Mybatis generator reports an error: generate (default CLI) on project XXX < Properties > resource XX properties does not exist

mybatis-generator. The properties file for the data source cannot be found in the XML file

It’s usually POM XML is configured with:

      <!-- Package XML files in the specified directory (configuration required when storing XML in Java directory) - >

Leads to mybatis generator XML can’t find the properties file of the data source by default. Just comment out this configuration