Skip to content

Instantly share code, notes, and snippets.

@kymtwyf
Created January 5, 2016 16:32
Show Gist options
  • Save kymtwyf/a904ed8a031ae8be9606 to your computer and use it in GitHub Desktop.
Save kymtwyf/a904ed8a031ae8be9606 to your computer and use it in GitHub Desktop.
  <excludeFromCompile>
    <file url="file://$PROJECT_DIR$/src/main/java/xxxController.java" />
  </excludeFromCompile>
由于误操作(我也不知道什么时候干的)发现这个 controller 下面的 api无法访问`No mapping found for HTTP request with URI /...` 
然后发现没有其他代码更变。只有一个在.idea 下面的 compiler.xml 里多了一句这个。手动删除却发现下次又生成了,所以查找了配置在(Preferences[command+,] -> Compiler ->Excludes )下找到了。。。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment