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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:03:40+00:00 2026-06-07T21:03:40+00:00

I have an eclipse rcp application. This application will try to load class files

  • 0

I have an eclipse rcp application. This application will try to load class files from a directory outside the application. However I always get an error of ClassNotFoundException. Do you have any ideas how class loading works in eclipse rcp?

Basically the use case is

  1. Read an xml file – done
  2. Put those xml data in Navigator – done
  3. When user clicks on data in navigator, locate the class in a directory and try to load it – classnotfoundexception

I created a test java project and i added the external class library and it can locate those successfully. However if i intergrate it in eclipse rcp, it throws that error.

  • 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-07T21:03:42+00:00Added an answer on June 7, 2026 at 9:03 pm

    Eclipse RCP applications use the OSGi class loading support to find the class loader associated with the OSGi bundles (plugins) in your application. If you want to load a class from somewhere, then you need to make a ClassLoader that can load a class from a directory (perhaps use the URLClassLoader). So you will need to create one of these and use it to load the class from the desired location.

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

Sidebar

Related Questions

I load dynamically an external class from my eclipse rcp application with urlClassLoader. The
I have an Eclipse RCP application that will launch properly after a clean install
I have an eclipse rcp application. And I have a command when this command
Background Our Eclipse RCP 3.6-based application lets people drag files in for storage/processing. This
i have an eclipse rcp application that, from time to time, may have multiple
I have an Eclipse RCP based Application, in which I have a menu of
I have an Eclipse RCP application that I'd like to make available to end
Here's a use case: I have a desktop application (built using Eclipse RCP) which
I have an Eclipse RCP application. When the application is started I want to
I have an Eclipse RCP application, and I am trying with no luck to

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.