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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to