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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:41:18+00:00 2026-06-17T23:41:18+00:00

I was debugging a certain thing in a maven project in Eclipse IDE .

  • 0

I was debugging a certain thing in a maven project in Eclipse IDE. As usual when I stepped into (F5) a line, I reached a java class/file Persistence.class. I want to determine which jar did it come from.

The reason : There are two projects (existing) which have certain dependencies configured in pom.xml. I see two different source codes for the file – one of them gives the desired result while the other does not. I have tried looking for persistence-api, ejb etc. but didn’t find any of them in the Maven dependencies shown in eclipse.

Hence, I want to grep the poms (of parent projects) to look for the jar.

To Summarize, Is there a view in Eclipse where I can see which jar a .class file is coming from?

  • 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-17T23:41:20+00:00Added an answer on June 17, 2026 at 11:41 pm

    Activate “Link with editor” in the Package Explorer (the double arrow) and press F3. Eclipse expands the class in a library. (Make sure, that the editor, that shows Persistence.class has the focus).

    For the next step, assuming you use m2eclipse, open the pom editor and look at the Dependency Hierarchy Tab. That gives a first hint where the dependency comes from. It may be transitive.

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

Sidebar

Related Questions

When debugging Java code using Eclipse, for collection variables, I saw the modcount member.
I'm debugging a certain method in a pre-existing project (call it foobarPressed). It's listed
For debugging purposes I need to print all public fields/properties of certain class instance.
While debugging and keep pressing F5, if the source code does not exist, eclipse
when debugging java code, in the stack trace, I noticed that something in the
While debugging my NServiceBus enabled application, I have certain messages that are reported in
While debugging Java code, Strings in the views Variables and Expressions show up only
I'm currently debugging a method we use to tag images with a certain text
I am debugging an issue in a legacy PHP application where a certain column
I have a problem relative to JNI and Java. Here is the thing :

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.