Hi,
I'm trying to deploy scanner project which I build myself, but in the end I have problem. In compilation process everything is all right (except pom.xml warning about java-plugin.jar) but when I deploy this project and run scanner (by clicking icon in GUI) and open java console I have this error:
I'm trying to deploy scanner project which I build myself, but in the end I have problem. In compilation process everything is all right (except pom.xml warning about java-plugin.jar) but when I deploy this project and run scanner (by clicking icon in GUI) and open java console I have this error:
Code: Select all
Java Plug-in 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\Mateusz
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Exception in thread "thread applet-com.openkm.applet.Scanner-1" java.lang.NoClassDefFoundError: org/apache/http/entity/mime/content/ContentBody
at com.openkm.applet.Scanner.init(Scanner.java:63)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.http.entity.mime.content.ContentBody
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more
Caused by: java.io.IOException: open HTTP connection failed:http://.../OpenKM/com.openkm.frontend.Main/org/apache/http/entity/mime/content/ContentBody.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 6 more