Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25818

Set default value for jdk.version in ambari-serviceadvisor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.7.8
    • service-advisor
    • None

    Description

      import the ambari trunk into intellij
      try to run any test case.
      test case run fails with following error

      java: invalid target release: 17
      Module ambari-serviceadvisor SDK 1.8 is not compatible with the source version 17.
      Upgrade Module SDK in project settings to 17 or higher. Open project settings.
      

      This is because for module ambari-serviceadvisor language level got set wrongly to 17.
      Setting default value for jdk.version in ambari-serviceadvisor solves this problem.

      Attachments

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h