zt:mina源码经maven2处理后,导入eclipse有Unbound classpath variable: 'M2_REPO报错的解决方法

来源:互联网 发布:扣丁学堂源码 编辑:程序博客网 时间:2024/05/17 20:12

(笔记化)

 

抄录:

 

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/

原创粉丝点击