[ERROR] 17109 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

背景:
maven项目,使用“逆向工程”

遇见的问题:

[ERROR] 17109
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 

[ERROR] 17109 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch._第1张图片

解决办法:
将maven中的setting.xml的仓库路径换一个成新的,将项目进行update,重新生成jar包

排查范围:
(1)排查是否在pom.xml 中引入


		<dependency>
			<groupId>org.mybatis.generatorgroupId>
			<artifactId>mybatis-generator-coreartifactId>
			<version>1.3.5version>
		dependency>

	<build>
		<plugins>
			<plugin>
				<groupId>org.mybatis.generatorgroupId>
				<artifactId>mybatis-generator-maven-pluginartifactId>
				<version>1.3.7version>
				<dependencies>
					<dependency>
						<groupId>mysqlgroupId>
						<artifactId>mysql-connector-javaartifactId>
						<version>5.1.42version>
					dependency>
				dependencies>
			plugin>
		plugins>
	build>

(2)查看generatorConfig.xml中连接的数据库名和数据库用户名、密码是否正确
(3)可能maven本地仓库下载的依赖jar包有残缺(就是我遇见的问题),需要指定新的仓库位置,重新下载(或者 将本地仓库中的jar包,全部清除,然后再重新下载)

你可能感兴趣的:(BUG整理)