当前位置:编程学习 > JAVA >>

生成实体时报Could not create local repository at H:\central-repository 错

在生成实体的时候报:
请输入Excel文件路径:
您的Excel文件路径为:D:\workspace\ent
实体类的包路径,默认为:cn.com.pzhsteel.test.domain
请输入实体类的包路径:
您实体类的包路径为: cn.com.pzhsteel.test.domain
命令开始执行。。。。。。
[ERROR] Could not create local repository at H:\central-repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositor
yNotAccessibleException
请按任意键继续. . .
我没有H盘,H是光驱。请高手帮忙。。。。。。 
--------------------编程问答-------------------- 没看懂…… --------------------编程问答-------------------- 在后台开发时用Excel生成实体java程序,那个工具是我们分公司人写的,一直报这个错
rem 数据库类型
set db_type=ORACLE
rem 数据库连接地址
set db_url=jdbc:oracle:thin:@10.16.33.128:1521:csscmes
rem 数据库用户名
set db_user=mesuser
rem 数据库密码
set db_pwd=mesuser

rem ==================1. 实体生成命令参数设置====================
rem 模块根路径
set module.path=G:\csscmes\01Development_library\06Coding\csscmes\testProj\test
rem 模版文件路径
set input.file=D:\workspace\ent
rem 生成实体所放置的包路径
set package.name=cn.com.pzhsteel.test.domain

rem ==================2. 服务类框架生成命令参数设置====================
rem 服务类的包路径
set service.package=cn.com.pzhsteel.test.service

rem ==================3. 对象浏览器数据更新命令参数设置 ====================
rem 项目的根路径或业务模块的根路径(用于添加功能)
set project.path=D:\workspace\W100247_XCLGMES\vobs\2010_XCLGMES_vob\XCLGMES_src\XCLGMESLogic\XCLGMES\ComnMag\CommonMag\
rem 类的全路径(用于更新)
set class.path=D:\workspace\W100247_XCLGMES\vobs\2010_XCLGMES_vob\XCLGMES_src\XCLGMESLogic\XCLGMES\ComnMag\CommonMag\src\main\java\cn\com\steel\mes\unit\common\mag\common\IronMatDisposeStatusEnum.java
rem 包名加类名
set entity.full.name=cn.com.steel.mes.plan.recive.mag.domain.PlanL4Heat

rem ==================4. 值集数据更新命令参数设置 ====================
rem 值集模版文件路径
set valueSet.input.file=D:\\ValueSet
rem 值集的catalogId
set catalogId=YARD_UNIT

rem ********************************************************************************************************
补充:Java ,  Web 开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,