Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError: 'java.util.Map org.eclipse.jetty.http.MimeTypes.getInferredEncodings()' #1383

Open
wood20230311 opened this issue Jun 17, 2024 · 0 comments

Comments

@wood20230311
Copy link

Describe the bug
when I use telegramBot by 7.4.1 and my jdk version is 17,when I new a TelegramBotsWebhookApplication object and registerBot,I get this exception.

How to reslove this problem? I think this is current telegram version is not support for jdk 17?

my pom.xml like this

17 7.4.1 org.telegram telegrambots-longpolling ${telegrambots.version} org.telegram telegrambots-webhook ${telegrambots.version} org.telegram telegrambots-client ${telegrambots.version} org.telegram telegrambots-extensions ${telegrambots.version}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant