有点困惑,基本的spring应用程序有:<context:component-scan base-package="org.springframework.samples.mvc.basic" /><!-- Configures the @Controller programming model -->
<mvc:annotation-driven
我正在尝试部署Map Portlet,这是一个springMVC框架。我在部署时遇到错误,如下所示。org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portlet.maps.mvc.portlet.MapViewController.setMapDao控制器类
impor
我正在将我的应用程序从泽西更改为RestEasy应用程序。当在Wildfly8.2中部署时,它可以与Web.xml中的泽西配置一起工作。更清楚的是,Autowired不会在启动时创建对象,这会导致此错误。我花了一天多的时间试图清除这个错误。任何帮助都将不胜感激<?-- Activates scanning of @Repository and @Service -->
<context:component-scan base-