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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:08:33+00:00 2026-06-09T00:08:33+00:00

I have a project A and I need to call a class c from

  • 0

I have a project “A” and I need to call a class “c” from another project “B”.

I have done the following. Click in “A” –>Properties –>Build Path –> and in one tab of Java Source I selected the project B. –> Accept

Now I can create objets of Class “c” but when I run the project I get “ClassNotFoundException”

Update,

I keep getting java.lang.ClassNotFoundException.

In “JSF” –>Properties –>Build Path –> Projects —> I Added the Project:

enter image description here

In Run –> Run Configurations –> ClassPath I had:

enter image description here

and now I have added the project “JIRA” and “JIRA dependencies”
enter image description here

JIRA project has this dependencies:

enter image description here

And I get the following error:

enter image description here

but this class is in M2_REPO:

enter image description here

SOLUTION

I add “JIRA dependencies” only in JARs without Maven:
enter image description here
and now it´s run.

  • 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-09T00:08:35+00:00Added an answer on June 9, 2026 at 12:08 am

    You need to add project B to the Run configuration used by project A. In the menu Run -> Run configurations… , add the project B in the tab ‘classpath’ of your run configuration.

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

Sidebar

Related Questions

I have a struts and hibernate project, From the action class, I need to
The Junits I have in my project need to load property files from the
I have a project where I need to update a labels text from inside
i need to have one project on asp.net mvc 1 but i want to
I have a .NET WeBService project and a reference to it from another project.
Let's assume we have following models: from django.db import models class Foo(models.Model): name =
I have a Java Google App Engine project which references a class in another
I have three projects under another project of which each contains one namespace. Now
I'm working with a singleton object/class, and need to call one of its methods
I have a project where I need to monitor changes in a 3rd party

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.