发表于: 2016-04-27 00:54:02

1 2659


今天完成的事情:下载Eclipse J2EE版本,配置Maven,使用Eclipse构建Maven的SpringMVC项目

明天计划的事情:完成使用SpringMVC完成REST接口。

遇到的问题:

1.配置Maven报错

Cannot complete the install because one or more required items could not be found.

  Software being installed: m2e - Maven Integration for Eclipse (includes Incubating 


components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-


0002)

  Missing requirement: Maven Integration for Eclipse 1.6.0.20140823-1318 


(org.eclipse.m2e.core 1.6.0.20140823-1318) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20141217-1418 


(org.eclipse.m2e.core 1.6.0.20141217-1418) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150203-1921 


(org.eclipse.m2e.core 1.6.0.20150203-1921) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150324-2020 


(org.eclipse.m2e.core 1.6.0.20150324-2020) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150325-2013 


(org.eclipse.m2e.core 1.6.0.20150325-2013) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150505-1732 


(org.eclipse.m2e.core 1.6.0.20150505-1732) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150506-1605 


(org.eclipse.m2e.core 1.6.0.20150506-1605) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150519-1922 


(org.eclipse.m2e.core 1.6.0.20150519-1922) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 


(org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 


(org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.2.20150819-1555 


(org.eclipse.m2e.core 1.6.2.20150819-1555) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Missing requirement: Maven Integration for Eclipse 1.6.2.20150902-0002 


(org.eclipse.m2e.core 1.6.2.20150902-0002) requires 'bundle org.eclipse.osgi 3.10.0' but 


it could not be found

  Cannot satisfy dependency:

    From: Maven Integration for Eclipse 1.6.2.20150902-0002 (org.eclipse.m2e.core.ui 


1.6.2.20150902-0002)

    To: bundle org.eclipse.m2e.core [1.6.0,1.7.0)

  Cannot satisfy dependency:

    From: m2e - Maven Integration for Eclipse (includes Incubating components) 


1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002)

    To: org.eclipse.m2e.core.ui [1.6.2.20150902-0002]

(http://www.th7.cn/Program/java/201407/245810.shtml 先装载slf4j-api包,重新启动eclipse后按http://stackoverflow.com/questions/8620127/maven-in-eclipse-step-by-step-installation再次安装Maven,安装成功)

2.配置web.xml报错

The processing instruction target matching "[xX][mM][lL]" is not allowed.

(http://bbs.csdn.net/topics/370090557,完全删除<?xml 前面的内容即可解决此问题!)

收获:学习使用Eclipse构建Maven的SpringMVC项目。

明早继续。睡了,晚安!



返回列表 返回列表
评论

    分享到