http://www.cnblogs.com/xfiver/archive/2010/07/07/1772764.html

1.输出目录不正确

Eclipse下无法自动编译,或者WEB-INF/classes目录下没文件,编译失败的解决办法


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

相关文章:

  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
  • 2021-06-20
  • 2021-12-26
  • 2021-10-14
  • 2021-10-28
  • 2022-01-28
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2022-02-07
  • 2021-07-22
  • 2021-04-13
  • 2021-04-25
  • 2021-06-25
相关资源
相似解决方案