现在的位置: 首页 > 综合 > 正文

Eclipse maven of the project reported in Unbound classpath variable: ‘M2_REPO /**/***/***. jar

2018年01月21日 ⁄ 综合 ⁄ 共 563字 ⁄ 字号 评论关闭

Eclipse maven of the project reported in Unbound classpath variable: 'M2_REPO /**/***/***. jar'

But in fact the jar is present in my local machine's directory, oh MAVEN:

C: \ Documents and Settings \ administrator \. M2 \ repository \ ** \ *** \ ***. jar

Description sure M2_REPO Eclipse not recognize this parameter, so it needs to add:

Eclipse-> Windows-> Preferences-> java-> Build Path-> Classpath Variables

new one, name of course M2_REPO, attributes selected folder,

Point to C: \ Documents and Settings \ administrator \. M2 \ repository

http://www.codeweblog.com/eclipse-maven-of-the-project-reported-in-unbound-classpath-variable-m2-repo-jar/

抱歉!评论已关闭.