GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Troubleshooting Troubleshooting
Srinesh Nisala edited this page
Solution
So, this issue probably occurs due to the way you have configured Mason.nvim. Follow the instructions below to correctly configure Mason.nvim using Lazy.nvim. return { 'williamboman/mason.nvim', opts = { ui = { icons = { package_installed = '✓', package_pending = '➜', package_uninstalled = '✗', }, }, }, -- use OPTS property to pass the configuration -- lazy vim call the setup function for you -- config = function() -- require('mason').setup({}) -- end -- ^^^^^^^^^^^^^^^^ DON'T DO THIS } return { 'williamboman/mason.nvim', opts = function() -- do all your complex stuff here return { ui = { icons = { package_installed = '✓', package_pending = '➜', package_uninstalled = '✗', }, }, } end, } return { 'williamboman/mason.nvim', config = function(_, opts) local conf = vim.tbl_deep_extend('keep', opts, { ui = { icons = { package_installed = '✓', package_pending = '➜', package_uninstalled = '✗', }, }, }) -- ^^^^^ Here we are basically merge you configuration with OPTS -- OPTS contains configurations defined elsewhere like nvim-java require('mason').setup(conf) end, } SolutionUnfortunately, we don't have command to auto update the classpath when you change dependencies, or jdk. Without force rebuild, changes will not be applied. So for now, you can manually remove following files. In the project, remove,
In cache, remove,
Solution
mvn eclipse:clean eclipse:eclipse
Read this article for more information SolutionIf you are getting this error, that means
require('java').setup({ root_markers = { 'settings.gradle', 'settings.gradle.kts', 'pom.xml', 'build.gradle', 'mvnw', 'gradlew', 'build.gradle', 'build.gradle.kts' }, })
git init
SolutionIf you find following notifications annoying, first of all, this has nothing to do with this plugin, BUT you can simply remove them when you are setting up the language server.
Here is how you can do it. require("lspconfig").jdtls.setup({ handlers = { -- By assigning an empty function, you can remove the notifications -- printed to the cmd ["$/progress"] = function(_, result, ctx) end, }, }) SolutionWe are installing require('java').setup({ jdk = { auto_install = false, }, }) SolutionThis is not related to Case of this error is, mason-registry recently added packages from openvsx registry. However, old mason.nvim plugin does not know how to process this registry type. Clone this wiki locally |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |