question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Classes not identified

See original GitHub issue

When trying to use the classes defined in the example case of the project:

PokeApi pokeApi = new PokeApiClient();

neither PokeApi nor PokeApiClient are being recognized as known classes

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
BenjaminChilsoncommented, May 10, 2020

THATS IT! Deleting and repopulating that folder fixed that jar file and now recognizes that package and even prompts the import as in your screen recording. Thanks so much for all the help!

0reactions
sargunvcommented, May 10, 2020

That’s really strange, I’d investigate the cached artifacts in ~/.m2/repository, or perhaps just delete that directory and have maven redownload them. Do the other dependencies appear correct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java class not recognized within package - Stack Overflow
1. Make sure the package statement is in those classes, so they are in the right package · 1. The package statement is...
Read more >
Intellij can't find classes in same package
I am using Intellij Community and am having a strange issue.If a class depends on a class in the same package the ide...
Read more >
Classes not found during the analysis : [org.jaxen ...
DocumentHelper. During this analysis SQ complains that the class org.jaxen.VariableContext cannot be found. It is correct that this class cannot be found, as...
Read more >
How to resolve "Unable to find class" using external Java objects
Cause: · The .class or .jar file cannot be found in the JVM's classpath · The class was compiled with a newer version...
Read more >
class not found - Google Classroom Community
i join the class by accepting it but it shows this error class not found Look for it on classes or double check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found