dukable dukable - 17 days ago 6
Java Question

Spring - Build path is incomplete. Cannot find class file for org/springframework/beans/factory/Aware in dispatcher-servlet.xml

I installed Spring Tool Suite and am now using it for a little sample project. However I keep having an error in my dispatcher-servlet.xml file:

Build path is incomplete. Cannot find class file for org/springframework/beans/factory/Aware


This error is highlighted here:

<bean
**class="org.springframework.web.servlet.view.InternalResourceViewResolver">**
<property name="prefix">
<value>/WEB-INF/pages/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>


Any thought?

Answer

I think you may have some old jar files in your configuration. Try using the most current spring libraries.

Comments