lokeshj / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

jzebra - Class not found #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running a web application. Keep the JSP and jzebra.jar file in the same file 
but when page is trying to load the applet throughing an error:

Java Plug-in 1.6.0_24
Using JRE version 1.6.0_24-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\sthulapp
----------------------------------------------------
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>
----------------------------------------------------

load: class jzebra.RawPrintApplet.class not found.
java.lang.ClassNotFoundException: jzebra.RawPrintApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: jzebra.RawPrintApplet.class

JSP code:
<jsp:plugin type="applet"
            code="jzebra.RawPrintApplet.class"
            width="100"
            height="100">

   <jsp:params>
      <jsp:param name="printer" value="zebra"/>
   </jsp:params>

   <jsp:fallback>
      <p> unable to start plugin </p>
   </jsp:fallback>
</jsp:plugin>

using jzebra1.0.5.jar file

Original issue reported on code.google.com by saninant...@gmail.com on 5 Apr 2011 at 4:24

GoogleCodeExporter commented 9 years ago
@saninantony: I have never tried jZebra through jsp.  I would like to work with 
you on getting this working.  Please email me tres.finocchiaro@gmail.com.

Original comment by tres.fin...@gmail.com on 5 Apr 2011 at 5:44

GoogleCodeExporter commented 9 years ago
Confirmed working via author.  No further details were provided.  Closing issue 
as invalid.

Original comment by tres.fin...@gmail.com on 9 Apr 2011 at 4:46