Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8502605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:31:55+00:00 2026-06-11T01:31:55+00:00

It is a conundrum! I have an applet in a JAR. When JAR is

  • 0

It is a conundrum!

I have an applet in a JAR. When JAR is signed – be it self-signed or with a DigiCert sertificate – I get a ClassNotFoundException on the main applet class.
When I don’t sign the applet, it loads just fine – (not counting the expected SecurityException due to the code not being signed).

But I can unpack the signed JAR and find everything to be where it is supposed to be.

The strangest part is that up until last week the set-up worked just fine.
Same main class, self-signed, same deployment mix of JS/HTML etc.

Any thoughts?

Here is the error message:

java.lang.ClassNotFoundException: com.spraklab.ilos.applet.Applet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:195)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:249)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:179)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:690)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3045)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1497)
at java.lang.Thread.run(Thread.java:680)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:31:57+00:00Added an answer on June 11, 2026 at 1:31 am

    Short version:
    No hyphens in JAR-names!

    The dramatic story:
    Finally! Many work-days after the problem was discovered.
    The applet loaded fine when not signed, bud ClassNotFoundException when signed.
    The answer about the switching of classloaders led me to believe that there was something I had changed in my code. So I stripped my code down to a minumum.
    But to avoid having to restart my browser all the time and empty the cache etc, I simply used the incognito-mode of Chrome. I rebuilt the code. And everything was fine in the end. Not!
    When I then tested it outside of incognito, I got the error again.

    So what was the difference? An examination of the server logs showed that the Jar simply wasn’t being requested from the server when in regular mode!
    I compared my code once again against an different app with similar embed-code, and saw only one difference: I was using a hyphen in stead of an underscore in the JAR-name – which should be allowed, and which had worked fine up until about 2 weeks ago.
    But wasn’t there also a Java update about 2 weeks ago …?!?!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

so I have my self a conundrum. I'm changing the region of an MKMapView
I'm running into a Spring (3.1) mapping conundrum: I have a simple, findAll method:
I have a small conundrum where I have an asp.net application that's using forms
I have a conundrum, I do know how to call method from other activity..
I have an interesting conundrum. We have a site that is a completely separate
I have the same conundrum as presented in this question , but applied to
I have a bit of a conundrum. I have a form which has numerous
I've been studying Python 3 recently and I have come across a conundrum: I
I am faced with the following conundrum: Our software has an abstract base class
I currently have this function: public double Max(double[] x, double[] y) { //Get min

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.