Results 1 to 4 of 4
  1. #1
    marrra is offline Member
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    0

    Default ClassNotFoundException with Applet and new JRE

    I've signed applet to show lyrics and it worked well almost two years.
    on karaoke-lyrics 'dot' net

    I've noticed today, that it doesn't work,
    but I didnt change anything last month so
    I think, that it is bug in JRE :(
    I've installed newest version - 1.6.0_11 and I get same error.

    Please help, thank you

    I Get following error:

    load: class mp3tagger/applets/KaraokeApplet.class not found.
    java.lang.ClassNotFoundException: mp3tagger.applets.KaraokeApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unk nown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(U nknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
    Exception: java.lang.ClassNotFoundException: mp3tagger.applets.KaraokeApplet.class

  2. #2
    kbr
    kbr is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Default

    We at Sun have investigated this failure. It is caused by a longstanding bug in how the Firefox browser reports the document base for XHTML documents to the classic Java Plug-In. The bug was fixed in the new Java Plug-In. Your applet tag is incorrectly phrased which is why you are encountering the difference in behavior. If you change the codebase parameter in your applet to "/classes" from "classes" it should work better -- but we have found that there seem to be other configuration problems with your applet preventing it from running properly even with the classic Java Plug-in.

  3. #3
    marrra is offline Member
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    0

    Default

    Thank You Very much.

    I fix all problems.

  4. #4
    ytotare is offline Member
    Join Date
    Jun 2010
    Posts
    1
    Rep Power
    0

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2010, 12:08 PM
  2. ClassNotFoundException
    By Chezelle in forum Java Applets
    Replies: 5
    Last Post: 12-24-2008, 04:26 PM
  3. Replies: 0
    Last Post: 07-09-2008, 12:36 PM
  4. java.lang.ClassNotFoundException
    By ravian in forum New To Java
    Replies: 1
    Last Post: 01-07-2008, 10:31 AM
  5. Replies: 1
    Last Post: 06-27-2007, 05:57 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
  •