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

  • Home
  • SEARCH
  • 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 3758028
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:05:55+00:00 2026-05-19T10:05:55+00:00

When compile and run using eclipse there is no problem , but when I

  • 0

When compile and run using eclipse there is no problem , but when I exported as jar with these setting , i got Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: gnu/io/SerialPortEventListener .

The jar exporter didn’t export my extended jar library?

alt text
alt text

  • 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-05-19T10:05:55+00:00Added an answer on May 19, 2026 at 10:05 am

    This sentence from the Exceptions JavaDoc helps to understand what went wrong:

    The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.

    You’ve build the application on eclipse with no errors. So the classpath definition inside eclipse was good enough to compile all classes.

    Now you export it, run it out of eclipse and encounter that error. The exported application does not use the eclipse projects classpath definition any more. And the currrent one does not include the library which contains the gnu.io.SerialPortEventListener.

    The general solution is: fix the classpath problems for the exported jar.

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

Sidebar

Related Questions

I use the Eclipse IDE to develop, compile, and run my Java projects. Today,
I'm running eclipse on Ubuntu using a g++ compiler and I'm trying to run
I've run into a very strange problem in Eclipse, and I'm not sure if
Apologies if these are extremely basic questions, but let's say I'm using the void
How can I compile/run C or C++ code in a Unix console or a
Why whenever I compile and run the following code in Visual Studio 2008: double
Is it possible to compile and run OpenGL programs from under Cygwin? If yes,
Say that you're developing code which needs to compile and run on multiple hosts
with (x)emacs, how could I run the 'compile' command without separately pressing enter to
I know PHP scripts don't actually compile until they are run. However, say I

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.