Giter VIP home page Giter VIP logo

Comments (5)

chriswhocodes avatar chriswhocodes commented on June 11, 2024

Hi, sorry for the late response, I didn't see the notification for this issue.

Are you sure that the missing classes are found in spring-boot-client/build/classes/java and not in a library jar file?

To get the most from JITWatch you should try to include both your own class files and the 3rd party jars used by your application.

from jitwatch.

morenice avatar morenice commented on June 11, 2024

@chriswhocodes @CodeHourra
Hi, I also faced the same problem. My projects is based on spring boot using gradle.
I tried a things, but I saw only the ClassNotFoundException error message.
jitwatch seems that jar files are not found. Can you give me a brief example using spring boot gradle for jit watch?
(config > class locations)

from jitwatch.

chriswhocodes avatar chriswhocodes commented on June 11, 2024

Are you sure the missing classes are from spring-boot-client? The first poster mentioned org.springframework.* classes which sound like they are from a library jar that has not been mounted.

Please can you confirm the .class file is actually found in the class folder you have mounted?

Thanks,

Chris

from jitwatch.

morenice avatar morenice commented on June 11, 2024

@chriswhocodes Thanks for your answer.
spring-boot-client(aka myproject) not missing at jitwatch.

I set the class folder that the jar file directory downloaded by gradle. The 3rd jars downloaded with gradle are currently in the directory below.
~/.gradle/caches/modules-2/files-2.1

the 3rd party is only jar files, not .classes. I think I asked the wrong question.
How can jitwatch recognize 3rd party jars?

For reference, I set ~/.gradle/caches/modules-2/files-2.1 class folder, I saw 'MetaMemerber not found' error message.

image

from jitwatch.

chriswhocodes avatar chriswhocodes commented on June 11, 2024

Hi @morenice
JITWatch config lets you add

  • folders containing the package root of loose (un-jarred) class files
  • named jar files to the classpath.

If you are adding jars then you need to add the jar itself using Add File(s) and not the folder containing the jars.

Kind regards,

Chris

from jitwatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.