Getting error>Exception in thread "main" Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/remote/internal/ApacheHttpClient$Factory

Exception in thread “main” Exception in thread “main” java.lang.NoClassDefFoundError: org/openqa/selenium/remote/internal/ApacheHttpClient$Factory
java.lang.NoClassDefFoundError: org/openqa/selenium/remote/internal/ApacheHttpClient$Factory
at io.appium.java_client.remote.AppiumCommandExecutor.(AppiumCommandExecutor.java:69) at io.appium.java_client.remote.AppiumCommandExecutor.(AppiumCommandExecutor.java:69)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:92)	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:92)
at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
at TestAppium.Test1.main(Test1.java:28)

Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.remote.internal.ApacheHttpClient$Factory
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
at TestAppium.Test1.main(Test1.java:28)

Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.remote.internal.ApacheHttpClient$Factory
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)

at java.lang.ClassLoader.loadClass(ClassLoader.java:351)	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

... 4 more
... 4 more

Code Here: package TestAppium;

import java.net.MalformedURLException;
import java.net.URL;

import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;

import io.appium.java_client.android.AndroidDriver;

public class Test1 {
public static AndroidDriver driver;

public static void main(String[] args) throws MalformedURLException
{
	DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("deviceName","5200570fde629657");
capabilities.setCapability("platformName","Android");
capabilities.setCapability("platformVersion","9.0");
capabilities.setCapability("appActivity","com.rocket");
capabilities.setCapability("appPackage","com.rocket.Activity.LoginActivity");

	driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),capabilities); 
	driver.findElement(By.id("com.rocket:id/etPassword")).sendKeys("dilip");