第一个bug前端
这个bug 是启动进项目时就有的,也就是找不到路径。但是我只作的单个模块,那么怎么会连一个整的项目都进不去呢?java
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:\TOMCAT\apache-tomcat-8.0.33\webapps\box-dms\WEB-INF\classes\spring-mvc-hibernate.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'activityService' for bean class [com.chwis.box.activity.service.impl.ActivityServiceImpl] conflicts with existing, non-compatible bean definition of same name and class [com.chwis.box.activity.activitylist.service.impl.ActivityServiceImpl]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414)
web
对应的bug就是这个看到了没,这个就是service层的冲突。那么怎么解决呢?原来我把service复制到了不一样的文件夹里面,致使他们出现冲突。只要删除一个就行了。spring
第二个异常数据库