redhat-developer / redhat-developer/vscode-java
non-project file, only JDK classes are added to its build path
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
Environment
- Operating System: window 11
- JDK version: 17
- Visual Studio Code version: 1.90
- Java extension version: v0.27.0
Steps To Reproduce
- [step 1] clone project
- [step 2] set datasource (/redisChat/src/main/resources/application.yml)
(I was using h2 in this project.) - [step 3] run redisChatApplication.java
[Please attach a sample project reproducing the error]
https://github.com/0gon/hung_chit_chat
[Please attach logs]
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
SpringApplication cannot be resolved
at com.redis.redisChat.demo.RedisChatApplication.main(RedisChatApplication.java:10)
Current Results
Added two modules to practice the msa method. kafkaChat, redischat.
It works fine on the pc that created the project, but I try to clone it and run it on another pc, so I can't get spring boot dependency.
Estimated results
Maybe when I clone it, I don't think I recognize the folder as a module or project, but as a simple folder.
I've looked in many directions. But I'm sorry I'm a beginner, and I don't know any more because I lack clues.
Additional Informations
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 with the linked hung_chit_chat project, its modules, and redisChat/src/main/resources/application.yml; then run RedisChatApplication.java in VS Code using the reported JDK and extension versions. Compare the cloned project's behavior with the reported unresolved SpringApplication error. Done means the cause of the missing Spring Boot dependency or project recognition is documented and the cloned application can resolve its dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kafka, redis, spring-boot, vscode
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100