`

MyBatis Generator.Path for project must have only one segment.

 
阅读更多

MyBatis Generator. 干嘛的不说了.如何使用也不说了 

使用

http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/UpdateSite/

安装插件可以在eclipse右键就可以生成代码了.

如果不安装这个插件,也可以在cmd下面运行

cmd cd进入src目录 运行

java -jar ../lib/mybatis-generator-core-1.3.1.jar -configfile ./config/MybatisGenerator.xml

 

如果是在eclipse插件下生成代码有可能会出现

Unexpected error while running MyBatis Generator.

 

Path for project must have only one segment.

 

解决方法 修改 targetProject 为自己工程的名字




 
 

  • 大小: 57.6 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics