applibgroup / HarmonyOS-Knowledgebase

This repository contains code samples of HarmonyOS Training
Apache License 2.0
17 stars 6 forks source link

StartSonar abruptly stopped #67

Closed vidyaakbar closed 3 years ago

vidyaakbar commented 3 years ago

I had download sonarqube and had the java 11 version installed still, I was facing an issue while starting StartSonar.bat

snapshot of StartSonar

vidyaakbar commented 3 years ago

1)We need to have the java 11 version installed for static tool analysis on soanrqube. For download and set up follow this link: https://java.tutorials24x7.com/blog/how-to-install-java-11-on-windows

2)Even after this if you face an issue opening the StartSonar.bat file then check task manager and end all tasks related to java jdk. after this close all open command prompt and run again.

3) If the issue is not solved then go to conf folder in sonarqube and open sonar properties file and search for the 9000 port number and change sonar.web.port value to some other port number Eg.9050 and uncomment it. Similarly, search for port number 9001 and follow the same process.