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.

Cannot use any classes from core package

See original GitHub issue

I have installed the SDK by adding the dependency given in the project home page and I can able to see the JAR file showing in the dependencies section of my IDE.

When I try to import one class for testing for example,

import com.dropbox.core.DbxAccountInfo;

I get this error

[ERROR] /src/main/java/backup/dropbox/DropboxAccessToken.java:[10,24] cannot find symbol
[ERROR]   symbol:   class DbxAccountInfo
[ERROR]   location: package com.dropbox.core

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
greg-dbcommented, Dec 27, 2021

Thanks for the sample and additional information. We bumped the Dropbox SDK’s Java source and target compatibility to 11 in v5.1.0 of the SDK. Please try upgrading your Java version to 11, or downgrading to v5.0.0 of the Dropbox SDK.

0reactions
VISWESWARAN1998commented, Dec 27, 2021

Thank you very much! it is working fine after downgrading to v5.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot access the classes in the package - java - Stack Overflow
The error you're getting makes sense. The Student class is located in MessManagement package not MessManagement.student package.
Read more >
Cannot reference classes or packages in module ... - GitHub
We've tried the following way of writing those links but none of them worked: - [Cannot reference a module by name](core.common.target) - [ ......
Read more >
import cannot be resolved, but package and class exists - Bugs
We have a project with a signifanct number of classes (over 1000). We have a package structure similar to what follows: com.ezrez com.ezrez.a.some.packages...
Read more >
AEM project app cannot resolve package dependency in core
Solved: Hey everyone, I have an AEM project where a utility class is found in the core module and is referenced in the...
Read more >
Use ASP.NET Core APIs in a class library - Microsoft Learn
With the release of .NET Core 3.0, many ASP.NET Core assemblies are no longer published to NuGet as packages. Instead, the assemblies are ......
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