spring-attic/spring-mvc-showcase

Unable to run spring-mvc-showcase in STS 3.8.1

kskblr04 opened this issue · 1 comments

STS 3.8.1 uses Pivotal Server v3.1

I performed a simple "run on server" .....

Logs have this exception:
10:25:44 [localhost-startStop-1] DispatcherServlet - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.springframework.samples.mvc.data.custom.CustomArgumentResolver]

I have modified the pom.xml to use Java 8. Is that the reason? If yes, how do I get it to work with Java 8?
Regards,

Sorry this works. My bad - I was running STS on a JRE rather than the jdk.