ClassNotFoundException in STS when running pizzashop reference app
I followed the steps in the pizzashop demo (http://static.springsource.org/sprin...beginning.html). I followed all the step thru section 2.9 and have run into a problem. I am able to successfully run the application outside of STS using 'mvn tomcat:run', however, when I attempt to deploy the application to a local Tomcat v6 server from within STS and I get the following error:
Code:
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'applicationConversionService' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.tcbakes.sample.pizzashop.web.ApplicationConversionServiceFactoryBean] for bean with name 'applicationConversionService' defined in ServletContext resource [/WEB-INF/spring/webmvc-config.xml]; nested exception is java.lang.ClassNotFoundException: com.tcbakes.sample.pizzashop.web.ApplicationConversionServiceFactoryBean
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.tcbakes.sample.pizzashop.web.ApplicationConversionServiceFactoryBean] for bean with name 'applicationConversionService' defined in ServletContext resource [/WEB-INF/spring/webmvc-config.xml]; nested exception is java.lang.ClassNotFoundException: com.tcbakes.sample.pizzashop.web.ApplicationConversionServiceFactoryBean
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
When I explore my workspace's '.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sample_pizza/WEB-INF/classes' folder (which I am pretty sure is where my application's resources are), I don't see any class files, just 'alt.properties' and 'standard.properties'. That's a problem, right?
Anyway, any advice would be greatly appreciated.