Maven搭建MyEclipse10+Struts2.1+Spring3.3+Hibernate3.3全注解框架
更改如果无效,在pom.xml中<build>……</build>添加
<sourceDirectory>src/main/java</sourceDirectory>
<resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
7. 添加struts-spring支持(action注解配置支持)
Build path->add libraries