| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
+1 to this! It's not possible to use anything that depends on this library, like the Google ADK, with Java modules without a fix. Thanks for opening it! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Currently the jar's automatic module name is invalid as it contains a - in the artifactId. If you run:
➜ 0.17.0 jar --describe-module --file mcp-core-0.17.0.jar Unable to derive module descriptor for: mcp-core-0.17.0.jar Automatic-Module-Name: io.modelcontextprotocol.sdk.mcp-core: Invalid module name: 'mcp-core' is not a Java identifierThis prevents other projects using modules to import the jar.
The change is to replace the - with a .
After compiling the code to build the jar, running the command will produce: