Skip to content

[BUG] Using the Java LSP server fails because option "startupTimeout" is not supported #16888

@devonhumes

Description

@devonhumes

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

On startup the Java LSP server fails to load. It fails because the ~/.claude/plugins/marketplaces/claude-plugins-official/.claude-plugin/marketplace.json defines an option named startupTimeout which does not appear to be supported for Java. Removing this option causes the server to load and it is available.

What Should Happen?

The java LSP server should load and be available.

Error Messages/Logs

Error: Error: Failed to initialize LSP server plugin:jdtls-lsp:jdtls: LSP server 'plugin:jdtls-lsp:jdtls': startupTimeout is not yet implemented. Remove this field from the configuration.

Steps to Reproduce

  1. Install the Java LSP plugin jdtls-lsp
  2. Make sure that it's enabled
  3. Start a new session with claude --debug
  4. Look at the debug log for the above error
  5. Edit ~/.claude/plugins/marketplaces/claude-plugins-official/.claude-plugin/marketplace.json and remove the startupTimeout option from the jdtls-lsp plugin settings.
  6. Start a new session with claude --debug
  7. Look in log and verify error does not appear.
  8. For Claude to use the LSP tool to verify it is working correctly.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.1

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions