Skip to content

Getting error no main manifest attribute in org.eclipse.equinox.jar & warning using incubator modules #585

Answered by Andrew15-5
Andrew15-5 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, so I fiddle with different things and different configurations, and in the end I think I figure out the MWA (Using NvChad).

lazy.nvim
  {
    "mfussenegger/nvim-jdtls",
    ft = "java",
    dependencies = "neovim/nvim-lspconfig",
    config = function()
      require "custom.configs.nvim_jdtls"
    end,
  },
custom.configs.nvim_jdtls
local default_config = require "plugins.configs.lspconfig"
local jdtls_setup = require "jdtls.setup"
local data_dir = vim.fn.stdpath "data"
local home = os.getenv "HOME"

local jdtls_binary = data_dir .. "/mason/bin/jdtls"
local root_dir = jdtls_setup.find_root { ".git", "mvnw", "gradlew" }
local project_name = vim.fn.fnamemodify(root_dir, ":p:h:t")
local 

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Andrew15-5
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Andrew15-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants