Coder Social home page Coder Social logo

Comments (7)

s1n7ax avatar s1n7ax commented on June 11, 2024

@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.

woutervanveen avatar woutervanveen commented on June 11, 2024

@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:
Screenshot 2024-04-22 at 19 31 33

I also removed the .project file and the .cache/jdtls to see if that resolved the issue, but unfortunately it didn't.

Screenshot 2024-04-22 at 19 37 26

from nvim-java.

s1n7ax avatar s1n7ax commented on June 11, 2024

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

image

from nvim-java.

woutervanveen avatar woutervanveen commented on June 11, 2024

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.

hrllk avatar hrllk commented on June 11, 2024

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

Screenshot 2024-05-01 at 2 15 37 PM

but.. i can not invoke getter, setter of a model

Screenshot 2024-05-01 at 2 16 45 PM

would you let me any advice.. TT??

from nvim-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.