org.openqa.selenium.SessionNotCreatedException: session not created exception for Chrome
<pre><code>public void openBrowser()
    {
        if(!isBrowserOpened)
        {
            if(config_getproperty("browserType").equals("MOZILLA"))
                driver = new FirefoxDriver();
            else if (config_getproperty("browserType").equals("IE"))
                driver = new InternetExplorerDriver();
            else if (config_getproperty("browserType").equals("CHROME"))
            {
                System.setProperty("webdriver.chrome.driver",System.getProperty("user.dir")+"\\chromedriver.exe" );
                driver = new ChromeDriver();
            }

            isBrowserOpened=true;
            String waitTime=config_getproperty("default_implicitWait");
            driver.manage().timeouts().implicitlyWait(Long.parseLong(waitTime), TimeUnit.SECONDS);
            driver.manage().window().maximize();
        }
</code></pre>

<p>this code was working till yesterday but suddenly after restart it stopped working showing session not established.
I tried all other solutions..Replaced Chrome exe with latest version replaced webdriver with 3.0 but still it was not working.
Can anyone please help me. </p>