GWT编译时发生异常

GWT编译时发生异常,gwt,smartgwt,Gwt,Smartgwt,当我使用GWT编译器构建项目时,在控制台上发现异常: MyConsole: Compiling module com.ems.EMSWeb Compiling 5 permutations Compiling permutation 0... Compiling permutation 1... Compiling permutation 2... Compiling permutation 3... Compiling perm

当我使用GWT编译器构建项目时,在控制台上发现异常:

MyConsole:

Compiling module com.ems.EMSWeb
   Compiling 5 permutations
      Compiling permutation 0...
      Compiling permutation 1...
      Compiling permutation 2...
      Compiling permutation 3...
      Compiling permutation 4...
   Compile of permutations succeeded
Linking into D:\Workspace3\EMSWeb\war\emsweb
   Linking public artifacts into D:\Workspace3\EMSWeb\war
      Emitting resource 0A9476898799A150D840F0B1C3672921.cache.png
         [ERROR] Fatal error emitting this artifact
java.io.FileNotFoundException: D:\Workspace3\EMSWeb\war\emsweb\0A9476898799A150D840F0B1C3672921.cache.png (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
    at com.google.gwt.dev.util.OutputFileSetOnDirectory$1.<init>(OutputFileSetOnDirectory.java:54)
    at com.google.gwt.dev.util.OutputFileSetOnDirectory.createNewOutputStream(OutputFileSetOnDirectory.java:54)
    at com.google.gwt.dev.util.OutputFileSet.openForWrite(OutputFileSet.java:57)
    at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.produceOutput(StandardLinkerContext.java:496)
    at com.google.gwt.dev.Link.doProduceOutput(Link.java:393)
    at com.google.gwt.dev.Link.link(Link.java:177)
    at com.google.gwt.dev.Compiler.run(Compiler.java:235)
    at com.google.gwt.dev.Compiler.run(Compiler.java:177)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:156)
   Link succeeded
   Compilation succeeded -- 96.563s
编译模块com.ems.EMSWeb
编译5个排列
正在编译置换0。。。
编译排列1。。。
编译排列2。。。
编译排列3。。。
编译排列4。。。
排列的编译成功
链接到D:\Workspace3\EMSWeb\war\EMSWeb
将公共工件链接到D:\Workspace3\EMSWeb\war
发射资源0A9476898799A150D840F0B1C3672921.cache.png
[错误]发出此工件时发生致命错误
java.io.FileNotFoundException:D:\Workspace3\EMSWeb\war\EMSWeb\0A9476898799A150D840F0B1C3672921.cache.png(访问被拒绝)
在java.io.FileOutputStream.open(本机方法)
位于java.io.FileOutputStream。(FileOutputStream.java:194)
位于java.io.FileOutputStream。(FileOutputStream.java:145)
位于com.google.gwt.dev.util.OutputFileSetOnDirectory$1。(OutputFileSetOnDirectory.java:54)
在com.google.gwt.dev.util.outputfilestondirectory.createNewOutputStream上(outputfilestondirectory.java:54)
位于com.google.gwt.dev.util.OutputFileSet.openForWrite(OutputFileSet.java:57)
位于com.google.gwt.core.ext.linker.impl.StandardLinkerContext.produceOutput(StandardLinkerContext.java:496)
位于com.google.gwt.dev.Link.doProduceOutput(Link.java:393)
com.google.gwt.dev.Link.Link(Link.java:177)
位于com.google.gwt.dev.Compiler.run(Compiler.java:235)
位于com.google.gwt.dev.Compiler.run(Compiler.java:177)
com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
位于com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
位于com.google.gwt.dev.CompileTaskRunner.runwithpropertedlogger(CompileTaskRunner.java:81)
位于com.google.gwt.dev.Compiler.main(Compiler.java:156)
链接成功
编译成功--96.563s
请给我一个建议,为什么我要面对这个例外。
有解决方案吗?

可能是某个应用程序在尝试写入时使用了此文件。 检查是否有任何应用程序读取此文件,或者您没有管理权限


如果没有任何帮助,请尝试删除这些缓存文件。

谢谢您的回答。您可能是对的,但重新启动后,系统问题已得到解决。