-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/config/Lookup
at com.github.jsonldjava.core.DocumentLoader.getDefaultHttpClient(DocumentLoader.java:132)
at com.github.jsonldjava.core.DocumentLoader.getHttpClient(DocumentLoader.java:150)
at com.github.jsonldjava.core.DocumentLoader.openStreamFromURL(DocumentLoader.java:109)
at com.github.jsonldjava.core.DocumentLoader.fromURL(DocumentLoader.java:62)
at com.github.jsonldjava.core.DocumentLoader.loadDocument(DocumentLoader.java:31)
at com.github.jsonldjava.core.Context.parse(Context.java:169)
at com.github.jsonldjava.core.Context.parse(Context.java:252)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:534)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:981)
at com.github.jsonldjava.core.JsonLdProcessor.expand(JsonLdProcessor.java:146)
at com.github.jsonldjava.core.JsonLdProcessor.expand(JsonLdProcessor.java:177)
at com.wanda.hds.schema.Parser.main(Parser.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.lang.ClassNotFoundException: org.apache.http.config.Lookup
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 17 more