redhat-developer / redhat-developer/vscode-java
"Classpath is incomplete" warning with react-native (gradle) generated project
Open
Nobody has claimed this yet.
classpath
Gradle
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
The warning message "Classpath is incomplete" pops up in any react-native generated project when you open a JAVA file even if the requested build.gradle is present

Environment
- Operating "Classpath incomplete"System: Linux
- JDK version: javac 1.8.0_181
- Visual Studio Code version: 1.26.1
- Java extension version: 0.30.0
Steps To Reproduce
npm install -g create-react-native-appcreate-react-native-app AwesomeProject- Run code
- Open file
MainActivity.java
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning when opening MainActivity.java in the supplied React Native project, then inspect the attached vscode.log and the project's build.gradle. Done means the extension no longer reports an incomplete classpath when the requested build.gradle is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, react-native, typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100