You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Mohammad Arshad (Jira)" <ji...@apache.org> on 2022/12/16 10:28:00 UTC

[jira] [Created] (AMBARI-25818) Set default value for jdk.version in ambari-serviceadvisor

Mohammad Arshad created AMBARI-25818:
----------------------------------------

             Summary: Set default value for jdk.version in ambari-serviceadvisor
                 Key: AMBARI-25818
                 URL: https://issues.apache.org/jira/browse/AMBARI-25818
             Project: Ambari
          Issue Type: Bug
          Components: service-advisor
            Reporter: Mohammad Arshad
            Assignee: Mohammad Arshad
             Fix For: 3.0.0


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

{noformat}
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.
{noformat}

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.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org