Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Issue trying run samples like 02.echo-bot #929

@denstren

Description

@denstren

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

Preview 8

Describe the bug

I am trying to run the samples like 02.echo-bot.
The echo bot starts up fine.
But, as soon as I send a message to the bot in the Teams app it throws the following error.

java.util.concurrent.CompletionException: java.io.IOException: java.util.concurrent.ExecutionException: com.microsoft.bot.connector.authentication.AuthenticationException: java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/nimbusds/oauth2/sdk/http/CommonContentTypes

Full startup and stack trace attached.
02.echo-bot.stack.trace.txt

I created an echo bot in Visual Studio using C# with the same App Id and Password and it worked as expected and echoed the message.

To Reproduce

Steps to reproduce the behavior:

  1. Start the 02.echo-bot.
  2. Connect to the Bot via the Teams App and send a message.
  3. It throws the error in the attached stack trace.

Expected behavior

Should echo back the message in the Teams App.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Let me know if you need any more details.

Metadata

Metadata

Assignees

Labels

Area: AuthenticationThe issue is related to authenticating users (SSO, OAuth, etc.)Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.P0Must Fix. Release-blockerbugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions