问题描述
cmd命令下为什么会报这样的。。求解mvn eclipse:eclipse[INFO] Scanning for projects...[ERROR] The build could not read 1 project -> [Help 1][ERROR][ERROR] The project com.cup.cstp:nfic_transaction:1.0 (E:nfictransactionpom.xml) has 1 error[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-proxool:jar is missing. @ line 29, column 15[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/ProjectBuildingException
解决方案
提示缺少package,试试:mvn eclipse:clean eclipse:eclipse -DownloadSource=true如果还是报错,在pom中,找到org.hibernate:hibernate-proxoo 这个包,手动下载下来,手动用mvn命令打到本地maven仓库中。
解决方案二:
pom文件贴出来。