Uploaded image for project: 'Deadlink'
  1. Deadlink
  2. DEAD-5

incorrect java version set in POM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.6
    • None
    • None

      At the moment, you have javaVersion = 1.5 configured in your POM

      However, your code is using java 1.7 features, resulting in the error:

      "Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted"

      Either the code needs to be made Java 1.5 compatible or the pom needs to be changed...

        Acceptance criteria

              marvink2 Marvin Kerkhoff
              runger Richard Unger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD