Eclipse下无法自动编译,或者WEB-INF/classes目录下没文件,编译失败的解决办法
http://www.cnblogs.com/xfiver/archive/2010/07/07/1772764.html
1.输出目录不正确
maven项目,Default output folder 必须如框内在target下的classes中...
2..setting目录下的若干文件,不正确,修改后解决
诡异的问题解决
3.发现报错:9.19
Cannot resolve reference to bean 'customLogoutFilter' while setting constructor argument with key [1]
找了半天,发现还是部署后,没有classes导致,依照上图,问题解决
参考:http://www.cnblogs.com/xfiver/archive/2010/07/07/1772764.html
4.maven项目的pom.xml有误,也导致不会编译
注意以下:
<build>
<finalName>xxxxxx</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
</plugins>
</build>
转载于:https://my.oschina.net/macleo/blog/313783