Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-450

Internal compiler error: java.nio.file.ClosedFileSystemException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.8.1
    • None
    • None

    Description

      Trying to launch maven with -T 4  and with Java 11.0.9.1, I get this error :

      ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project digiweb: Compilati
      on failure: Compilation failure:                                                                                                            
      [ERROR] /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.java:  
      [ERROR] 13. ERROR in /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.jav
      a (at line 0)
      
      [ERROR]         /*
      
      [ERROR]         ^
      
      [ERROR] Internal compiler error: java.nio.file.ClosedFileSystemException at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.
      java:1146)
      
      [ERROR] Found 1 error and 28 warnings.
      
      [ERROR] -> [Help 1]
      
      [ERROR]  
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      
      [ERROR]  
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      
      [ERROR]  
      [ERROR] After correcting the problems, you can resume the build with the command
      
      [ERROR]   mvn <args> -rf :digiweb
      
      

      This error, hapens with Java 11 and Java 14, when I enalbe to use multiple threads. With Java 8 or with Java 11/14 on single thread mode don't throws this error.

       

      Looks, that could be related to this error of Eclipse : https://bugs.eclipse.org/bugs/show_bug.cgi?id=539536

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            lpanadero84 Luis Panadero Guardeño
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: