Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13468

Photoalbum build fails with JDK 6

    XMLWordPrintable

    Details

      Description

      Builidng the photoalbum with JDK 6 fails with the error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project richfaces-photoalbum: Compilation failure: Compilation failure:
      [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[30,20] package java.nio.file does not exist
      [ERROR] Cannot find annotation method 'value()' in type 'org.richfaces.cdk.annotations.EventName'
      [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,29] cannot find symbol
      [ERROR] symbol  : method toPath()
      [ERROR] location: class java.io.File
      [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,12] cannot find symbol
      [ERROR] symbol  : variable Files
      [ERROR] location: class org.richfaces.photoalbum.util.FileHandler
      [ERROR] -> [Help 1]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                bleathem Brian Leathem
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: