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

当遇到'Maven找不到'mybatis-generator'前缀'及'ORA-28040: No matching authentication protocol'错误时,可能是配置或数据库连接问题。检查Maven命令是否正确,确保pom.xml中配置完整,特别是plugin和mojo部分。错误重点在于'ORA-28040',表示Oracle认证协议不匹配,解决方案是下载并配置ojdbc驱动到本地Maven仓库。
摘要由CSDN通过智能技术生成

这个报错 有几个可能
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值