Results 1 to 3 of 3
  1. #1
    ravisha1 is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Default Failure to load Applet successfully

    HI All

    iam using applet tag in html file
    ex: <APPLET name="TreeMenuFrom"
    code="com.scand.jtree.TreeApplet.class"
    width="300"
    height="250"
    ARCHIEVE="/applets/jtree_eval.jar"
    codebase="/"
    MAYSCRIPT>
    <PARAM NAME="root_closeable" VALUE="">
    <PARAM NAME="menu" VALUE="treeMenuFrom">
    <PARAM NAME="image0" VALUE="images/item_open.gif">
    <PARAM NAME="image1" VALUE="images/item_node.gif">
    <PARAM NAME="image2" VALUE="images/item_open.gif">
    <PARAM NAME="image3" VALUE="images/item_closed.gif">
    </applet>
    TreeApplet.class is exist under com/scand/jtree but iam getting following error while loading the applet

    my web application structure

    myproject/WebContent/Applet/com/scand/jtree/TreeApplet.class

    using xmlc DOM the a.html file will convert into aDOM.java, application is referrring to a.

    please tell me how do i load applet sucessfully

    Java Plug-in 1.5.0_18

    User home directory = C:\Documents and Settings\saipogu

    Using JRE version 1.5.0_18 Java HotSpot(TM) Client VM

    User home directory = C:\Documents and Settings\saipogu

    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
    p: reload proxy configuration
    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 com.scand.jtree.TreeApplet.class not found.
    java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class com.scand.jtree.TreeApplet.class not found.
    java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,240
    Rep Power
    19

    Default Re: Failure to load Applet successfully

    Split from All applets fail to start

    When you have a question, start your own thread -- they're free. Don't post to an old dead thread and don't hijack another poster's thread.

    db
    Last edited by DarrylBurke; 04-06-2012 at 02:44 PM.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,418
    Rep Power
    25

    Default Re: Failure to load Applet successfully

    class com.scand.jtree.TreeApplet.class not found.
    That name looks like a filename, not a class name. Remove the .class to get the class name.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 5
    Last Post: 03-11-2012, 02:13 PM
  2. Settlers of Catan Java Applet won't load
    By ragalie in forum Java Applets
    Replies: 5
    Last Post: 02-23-2012, 04:00 PM
  3. Test applet failing to load on browser...
    By Javasubbu in forum New To Java
    Replies: 0
    Last Post: 11-03-2011, 02:42 PM
  4. Java Applet Will Not Load.
    By PaulMoretti in forum Advanced Java
    Replies: 3
    Last Post: 08-16-2011, 05:19 PM
  5. [SOLVED] JAR applet won’t load.
    By Master Zero in forum Java Applets
    Replies: 14
    Last Post: 09-06-2008, 11:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •