Comments (7)
@woutervanveen It's possible that you forgot to add the dependency to the project. If not could you please create a repo with sample project. For me it's working and I have autocmd to delete jdtls cache when project is opened. Lombok is working for me. Please post a screenshot of :Mason
also.
from nvim-java.
@s1n7ax thank you for your swift response. The issue started in a repository that is working fine in stuff like IntelliJ and was working well with this plugin. I've setup a repo for which I can reproduce the issue:
https://github.com/woutervanveen/nvim-java-demo
here is also the screenshot of Mason:
I also removed the .project
file and the .cache/jdtls
to see if that resolved the issue, but unfortunately it didn't.
from nvim-java.
What happened to the other mason dependencies? You should have all of these.
◍ java-debug-adapter
◍ java-test
◍ jdtls
◍ lombok-nightly
◍ openjdk-17
Working on my end. Could be the cache. Could you try removing following files.
~/.cache/nvim/jdtls/
, ./.classpath
& ./.project
from nvim-java.
I also saw this morning. I removed everything and now it is working fine. I will close the bug. Thank you so much for the help and this wonderful plugin!
For other people struggling here, what I did to resolve it in the end is to remove ~/.m2
so that the maven repositories get reset. This in conjunction with the aforementioned removal of the ~/.cache/jdtls
and ~/.classpath
from nvim-java.
hello, master i'm using your package very useful thank you very much
i'm facing similar issue ..
exactly, my project can detect lombok like this
but.. i can not invoke getter, setter of a model
would you let me any advice.. TT??
from nvim-java.
Related Issues (20)
- feature: when tests are executed the results are auto opened
- bug: openjdk is installed regaredless fo the auto_install = false setting HOT 1
- mason keeps trying to install an invalid jdtls version HOT 4
- bug: Jdtls not using the installed openjdk-17 HOT 1
- bug: After running JavaRunnerRunMain, it works fine. But when I close the opened terminal and try again it doesn't work HOT 3
- bug: DAP config not found - multimodule projects HOT 4
- feature: Extract variable refactor command
- Installation documentation outdated
- bug: jdtls installation fails because it is trying to download a file which does not exist HOT 3
- feature: Application to run multiple application at the same time in multi module project HOT 7
- feature: support remote debugging
- feature: Hoping for a Complete Configuration Demo to Set Up and Run Java and Maven Projects HOT 4
- bug: cant run the springboot project HOT 2
- bug: jdtls error in v1.4.0 HOT 1
- bug: Error after open lazyvim (using nvim-java guide) HOT 2
- bug: postfix completion not shown HOT 10
- regression: jdtls doesn't have the capability `"textDocument/codeAction"` HOT 12
- bug: Fail to start the debugger on standalone java programs HOT 6
- bug: errors when opening a java file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-java.