这个报错 有几个可能
0 你mybatis-generator:generate 打错了
这是有可能的

1 最简单的解决方法
maven runs as :
maven clear
maven install

基本没法解决问题

2 你的pom.xml配置有问题
缺了 plugin 或者 mojo之类的
给一个pom.xml

 <dependencies><dependency><groupId>oracle</groupId><artifactId>ojdbc14</artifactId></dependency><dependency><groupId>org.mybatis</groupId><artifactId>mybatis</artifactId></dependency><dependency><groupId>org.mybatis</groupId><artifactId>mybatis-spring</artifactId></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-core</artifactId></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-orm</artifactId></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-test</artifactId></dependency></dependencies><build><plugins><!-- mybatis generator --><plugin><groupId>org.mybatis.generator</groupId><artifactId>mybatis-generator-maven-plugin</artifactId><version>1.3.2</version><configuration><configurationFile>${basedir}/src/main/resources/generatorConfig.xml</configurationFile><overwrite>true</overwrite></configuration><dependencies><dependency><groupId>oracle</groupId><artifactId>ojdbc14</artifactId><version>10.2.0.1.0</version></dependency></dependencies></plugin></plugins>

这里如果不需要spring就把 spring相关删除

3 ORA-28040:
是最坑的
因为他报错的重点不是前面的 maven generator
而是后面的
ORA-28040: No matching authentication protocol

报错信息整条都要看 你以为的错误的地方不是真正的原因 报错信息的后半部分不可忽略
错误来源是Oracle库

这里百度搜索下 ojdbc6下载配置 去下载一个 ojdbc6 或者7 配置到本地的maven仓库 很方便的

No plugin found for prefix 'mybatis-generator' in the current project ORA-28040: No matching authen相关推荐

  1. no plugin found for prefix ‘tomcat 7‘ in the current project and in the plugin groups的解决方法

    no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups的解决方法 参考文章: (1) ...

  2. SpringBoot入门篇--整合mybatis+generator自动生成代码+druid连接池+PageHelper分页插件

    我们这一一篇博客讲的是如何整合Springboot和Mybatis框架,然后使用generator自动生成mapper,pojo等文件.然后再使用阿里巴巴提供的开源连接池druid,这个连接池的好处我 ...

  3. Maven多模块项目使用MyBatis Generator

    开发环境: JDK:8u102 Maven:3.3.9 MySQL:5.7.10 MySQL Connector:5.1.40 IDE:IntelliJ IDEA 2016 MyBatis:3.4.1 ...

  4. 【Spring框架家族】mybatis generator代码自动生成(看得上眼直接拿去用即可)

    小工具,直接上代码,有大佬看的上,拿去复制改改相关参数就好 基于idea上使用的 pom文件 <build><plugins><plugin><groupId ...

  5. tkmbatis 日志_springboot+maven+tk.mybatis+generator逆向工程

    1.父工程的pom.xml中导入依赖和插件,当前完整的文件如下: 4.0.0 com.sino demo_parent pom 1.0-SNAPSHOT bos org.springframework ...

  6. SpringBoot如何自动生成实体类和Dao层以及映射文件(mybatis generator 自动生成代码)

    一.首先添加自动生成代码插件 <!-- mybatis generator 自动生成代码插件 生成时解除注释 --><plugin><groupId>org.myb ...

  7. idea mybatis generator插件_在idea中使用mybatis generator逆向工程生成代码

    用maven工具生成mybatis的代码和映射文件. 1.配置pom.xml文件 在pom.xml下添加插件如下: <build> <finalName>zsxt</fi ...

  8. Spring Boot项目利用MyBatis Generator进行数据层代码自动生成

    概 述 MyBatis Generator (简称 MBG) 是一个用于 MyBatis和 iBATIS的代码生成器.它可以为 MyBatis的所有版本以及 2.2.0之后的 iBATIS版本自动生成 ...

  9. mysql分页取数每一页生成xml_让MyBatis Generator产生的代码支持分页

    本文提供一种方法,让MyBatis Generator产生的代码支持分页,  适用于MySQL. 分析 如果要获取分页信息,使用MySQL语句,我们需要怎么做呢? select * from t_us ...

  10. MyBatis Generator 详解

    MyBatis Generator中文文档 MyBatis Generator中文文档地址: http://mbg.cndocs.tk/ 该中文文档由于尽可能和原文内容一致,所以有些地方如果不熟悉,看 ...

最新文章

  1. 快来参加北京首届数字技术大体验活动 赢取万元奖励、百度用友致远实习就业机会...
  2. 从缓冲上看阻塞与非阻塞socket在发送接收上的区别
  3. html函数中怎么写超链接,如何调用html超链接中的函数
  4. DCMTK:测试dcmiod的颜色转换功能
  5. 交叉熵(cross_entropy)作为损失函数在神经网络中的作用
  6. NVRH.265:鱼与熊掌不兼得?不见得!
  7. canvas生成图片toDataURL报错的原因和解决方法
  8. jupyterlab nb_conda 增加 删除_Jupyter lab
  9. java学习笔记-设计模式22(访问者模式)
  10. 读书笔记之大数据采集与预处理
  11. breadweb控制台下载_路由器刷breed助手下载
  12. 手机验证码登录 添加 区号,国家,国家简写,国家中文名称,国旗展示
  13. POI excel 添加水印 xls,xlsx
  14. Nessus安裝教程
  15. 收获的九月——《大数据实践课》成果展示
  16. 业务系统安全工程在阿里的实践|阿里巴巴DevOps实践指南
  17. 上海南京路步行街向全球征集标识Logo及吉祥物设计
  18. Alist+RaiDrive将你的云盘本地化
  19. 100 Most Brilliant Tech Hacks You Need To Know Right Now
  20. 10年跳槽2次,薪资翻10倍,我就是互联网公司中年老白兔

热门文章

  1. java扫描条形码接口_javaweb条形码产生、打印、扫描
  2. ftp服务器和共享文件夹权限设置,ftp服务器共享文件夹权限设置
  3. Apex-逃离塔科夫机器码彻底解决(年度最新讲解可观看)
  4. mac安装PS cc2019 error问题汇总
  5. Inverting the Generator of a GAN 生成器反向
  6. Everything软件配置
  7. Linux内核4.14版本——mmc框架——mmc硬件总线扫描流程(以sd card为例)
  8. Lucene系列:番外篇-DocValues
  9. 那些想上天的亿万富翁,开启了新的“太空竞赛”
  10. 【python】52周存钱法