TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

java.lang.NoClassDefFoundError in Java Console

Forums › TWAIN Classic › java.lang.NoClassDefFoundError in Java Console

  • This topic has 1 reply, 1 voice, and was last updated 12 years, 11 months ago by chankokchern.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 12, 2008 at 1:56 am #22337 Reply
    chankokchern
    Participant
    • Topics - 3
    • Replies - 1
    • Total Posts - 4

    Hi Guys,

    I am a noobie and please guide me. I have an application that is using twain plugin. I got this error in the java console

    java.lang.NoClassDefFoundError: SK/gnome/twain/TwainException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(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)
    Caused by: java.lang.ClassNotFoundException: SK.gnome.twain.TwainException
    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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
    … 10 more

    What cause this error, and how do i remedy this problem.

    Thanks a million.

    Regards,
    Jimmy

    May 12, 2008 at 3:14 am #24503 Reply
    chankokchern
    Participant
    • Topics - 3
    • Replies - 1
    • Total Posts - 4

    Hi guys,

    I have solve the problem.

    placing the 2 jar file (javatwain.jar and javatwain_license.jar) into Java/JRE folder/lib/ext folder

    Thanks

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: java.lang.NoClassDefFoundError in Java Console
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Changing TWAIN driver defaults
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

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.