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 8533525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:58:47+00:00 2026-06-11T09:58:47+00:00

I have a project I’ve been developing in Eclipse 3.7.2 on Ubuntu 12.04. Recently,

  • 0

I have a project I’ve been developing in Eclipse 3.7.2 on Ubuntu 12.04. Recently, I’ve restructured the class hierarchy which involved moving classes between packages. I did not move my main class (“ob3.converter.Converter”), which contains my public static void main(String[] args) method.

Now, when I attempt to run it, I get:

Exception in thread "main" java.lang.NoClassDefFoundError: ob3/converter/Converter
Caused by: java.lang.ClassNotFoundException: ob3.converter.Converter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: ob3.converter.Converter. Program will exit.

I’ve only ever really worked (in java) with Eclipse, which handles all the overhead for me – hence I have little understanding of this error or what could cause it. I’ve looked through my Run Configuration/Classpath etc but without knowing what to look for, it was fruitless.

Could anybody point me in the right direction? I’ve googled / search SO, and most things talk about a manifest file, but I’ve been unable to find it anywhere. My workspace folder contains nothing more than my source files.

I can verify:

  • The class “Converter” exists within the package “ob3.converter”.
  • The class “Converter” contains a public static void main(String[] args) method.
  • The “Source” tab on the Java Build Path page in Project Properties shows “converter/lib” and “converter/src” – these 2 folders contain my entire project source.
  • The JRE used in Run Configuration/JRE is “java-6-openjdk-amd64”.
  • The ClassPath tab in Run Configuration looks like this:
    • Boostrap Entries:
      • JRE System Library [java-6-openjdk-amd64]
    • User Entries:
      • converter (default classpath)
        • converter
  • The path to Converter.java has not changed since I last run it successfully.

Any help is very much appreciated!

  • 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-11T09:58:48+00:00Added an answer on June 11, 2026 at 9:58 am

    I think you should rebuild your project. You can do this by clicking on Projects > Clean…

    Sometimes the automatic build of Eclipse has problems with the refactoring or moving of classes.

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

Sidebar

Related Questions

I have project in Dropbox and two running laptops: one with Ubuntu and one
I have project which contain 4 tables among these shedule table Session column i
I have project in which I want to use check library for unit testing.
I have project which includes external jar file in it, I followed this link
Suppose I have Project X under closed source. It references/links to component Y which
I have project A, a C# console application which I want to reference my
In a project at work we have a certain value type class in our
I have a simple model: class Project < ActiveRecord::Base belongs_to :user class User <
I am new to jsf and recently i have project where we want to
I have project where i'm developing an Android App using a lot of existing

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.