在eclipse中部署maven项目的问题

1.在eclise中导入maven项目时,如果在Libraries下没有Maven Dependencies,
	需要在.classpath中添加
	 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>  
	 <classpathentry kind="output" path="target/classes"/>

2.Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, 
  or a system process may be using the port. To start this server you will need to stop the other process 
	解决方法:http://blog.csdn.net/xinxin19881112/article/details/6148507

3.在eclipse中导入maven项目时,如果包的结构发生了变化,那应该是.classpath文件发生了变化,可以把源项目中的.classpath中的内容复制过来,也可以在java build path的source
   中设置路径

4.org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class
  .calss文件出了问题,有可能是jdk8和spring的问题,可以升级到spring4或者更高版本,也可以停止使用jdk8的功能。
  http://stackoverflow.com/questions/8676237/spring-mvc-failed-to-read-candidate-component-class

  

  

原文地址:https://www.cnblogs.com/qqyong123/p/8473693.html