org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.Dao.ApplicationDaoImpl] for bean with name '

前端 未结 2 1510
臣服心动
臣服心动 2021-01-21 05:05

I\'m working on a Spring MVC (3.2) + JDBC project, I\'m very new to Spring. I\'m using Eclipse Europa,Tomcat server and oracle database, I\'m not using maven.

I have see

相关标签:
2条回答
  • 2021-01-21 05:19

    Add this code in dispatcher-servlet.xml

    <bean id="applicationService" class="MediatoPrima.Dao.ApplicationDaoImpl"></bean>
    
    0 讨论(0)
  • 2021-01-21 05:29

    You will have to look at three points:

    • The classpath is missing. Go and add the classpath to your project. It will fix the issue.
    • Make sure com.Dao.ApplicationDaoImpl class really exists in your project folder.
    • Also look for the jar/war files related to project exists.
    0 讨论(0)
提交回复
热议问题