Home > Back-end >  Failed to execute goal org. Mybatis. The generator: mybatis generator - maven plugin: 1.4.
Failed to execute goal org. Mybatis. The generator: mybatis generator - maven plugin: 1.4.

Time:12-04

The along while, the idea to test whether the database can be found properly connect your own mistakes, feel like a han han

This should be a colon, at that time, I was written.
Error message: Failed to execute goal. Org. Mybatis generator: mybatis generator - maven plugin: 1.4.0: generate (default - cli) on project demo: always connect to the database (possibly bad driver/URL combination)
The above is clear to connect the database, probably because of the wrong driver or url information
First to check whether the idea can be normal and database connection, the online to write a lot of very detailed, second is rather more see the write their own configuration files, what hand by mistake,
When the first time to write must be careful, otherwise look back can be too much trouble!!!

CodePudding user response:

The sample directly to look for a standard written well, mainly to change the IP and data source name
  • Related