org.mybatis.generator版本不对应错误
来源:互联网 发布:ubuntu usr空间不足 编辑:程序博客网 时间:2024/04/27 21:23
错误代码
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project unkown: http://www.mybatis.org/dtd/mybatis-generator-config_3_0.dtd -> [Help 1][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] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
maven代码
<plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.2</version> <configuration> <verbose>true</verbose> <overwrite>true</overwrite> </configuration> </plugin>
generatorConfig.xml代码
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 3.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_3_0.dtd">
解决方法:
generatorConfig.xml中的
``` <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 3.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_3_0.dtd"> ```
与maven中的
<artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.2</version>
版本不符合,将两处是使用为同一版本即可解决错误!
0 0
- org.mybatis.generator版本不对应错误
- MyBatis Generator错误总结
- Mybatis Generator 异常错误记录
- mybatis入门字段与属性不对应问题(三)
- 关于配置文件中的头约束问题 xsd 版本不对应
- IMP 数据库版本不对引起的错误
- JDK版本不对引起的错误
- mybatis-generator生成相对应的po、dao以及mapper
- mybatis-generator中文注释版本(绿色版)
- Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-
- mybatis版本错误
- java.lang.NoClassDefFoundError: org/mybatis/generator/exception/InvalidConfigurationException
- MyBatis中为类配置别名,列名与属性名不对应的解决方案
- 注解开发mybatis的mapper属性和字段不对应问题@Results—resultMap
- mybatis(5)---如何解决实体类中字段和数据表字段不对应引发的问题
- java/jdk版本不对导致android编译错误
- 解决Android Studio中Gradle版本不对应无法调试app的问题
- STS项目更正 web与jdk版本不对应等问题
- JMX超详细解读
- Linux I2C驱动个人理解(一)
- 捷速pdf编辑器怎么编辑pdf文件的页眉页脚
- linux背光系统--背光渐变
- 1.POI导出大量数据方法介绍-SXSSF
- org.mybatis.generator版本不对应错误
- JDBC
- Java单元测试中@BeforeClass,@Before,@Test,@After,@AfterClass中的问题详解
- Spark 教程系列1--Spark介绍
- Mysql报错[Err] 1054 - Unknown column 'b.borrow_id' in 'on clause'
- ArrayList实现原理
- caffe for windows的python接口学习(1):分析caffenet.py
- HPU 1046: QAQ的数学问题 【贝祖定理】
- linux设备驱动--LED驱动