zoukankan      html  css  js  c++  java
  • 问题描述:使用MyBatis Generator自动生成映射的时候报错 No plugin found for prefix ‘mybatis-generator’ in the current project and in the plugin groups 在当前项目和插件组中没有找到前缀’ mybatisi -generator’的插件

     1.在pom.xml添加

       <plugin>
                    <groupId>org.mybatis.generator</groupId>
                    <artifactId>mybatis-generator-maven-plugin</artifactId>
                    <version>1.3.2</version>
                    <configuration>
                        <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
                        <overwrite>true</overwrite>
                        <verbose>true</verbose>
                    </configuration>
                    <dependencies>
                        <dependency>
                            <groupId>mysql</groupId>
                            <artifactId>mysql-connector-java</artifactId>
                            <version>8.0.11</version>
                        </dependency>
                        <dependency>
                            <groupId>org.mybatis.generator</groupId>
                            <artifactId>mybatis-generator-core</artifactId>
                            <version>1.3.2</version>
                        </dependency>
                    </dependencies>
                </plugin>

    数据库连接修改为:connectionURL="jdbc:mysql://localhost:3306/gmall?useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false"
  • 相关阅读:
    sudo
    Ansible模块
    Ansible自动化运维
    Sersync
    eclipse报错MA
    myeclipse报错MA
    通过StringBuilder的reverse()实现倒序
    位运算实现高效互换
    scanf("%s",s)与gets(s)
    异或运算符实现简单加密
  • 原文地址:https://www.cnblogs.com/jinjingBlog/p/13905535.html
Copyright © 2011-2022 走看看