Comments (4)
Meanwhile you can wrap SpeechletResponse in your own class and override getShouldEndSession.
@Override @JsonInclude public boolean getShouldEndSession() { return super.getShouldEndSession(); }
See an example of a wrapper, which is also way better to build SpeechletResponse like
final SpeechletResponse response = AlexaSpeechletResponse .ask() .withSsml("Some <p>SSML</p>") .withRepromptText("Some reprompt text.") .withSimpleCardContent("Some card content.") .withSimpleCardTitle("A card's title") .build();
Have fun: https://gist.github.com/KayLerch/8bfcb2d3b895e0bfccaf34d8f8550e9e
from alexa-skills-kit-sdk-for-java.
Thanks Kay! Yes, I overrode SpeechletResponse and did something very similar in my code to work around this.
Also your fluent builder looks great!
from alexa-skills-kit-sdk-for-java.
We faced this issue when using the alexa-skills-kit 1.1.3 with the aws-java-sdk-core 1.11.0 jar. The aws-java-sdk-core pulls in jackson-databind 2.5.3 which cannot handle the above annotation, whereas alexa-skills-kit 1.1.3 pulls in jackson-databind 2.3.2, which can handle the Include.NON_DEFAULT
annotation value.
In our gradle build script, we simply excluded the jackson-databind transitive dependency from the aws jars, and have had no issues since then.
from alexa-skills-kit-sdk-for-java.
Closing due to inactivity but please feel free to reopen if this issue persists!
from alexa-skills-kit-sdk-for-java.
Related Issues (20)
- “NoSuchMethodErrors” due to multiple versions of com.fasterxml.jackson.core:jackson-core:jar HOT 6
- com.amazon.ask.exception.AskSdkException: Could not find a skill to handle the incoming request HOT 2
- Accept Grant handler HOT 1
- Jackson cannot deserialze errors HOT 4
- Delegate directives from LaunchRequest should be able to come back to the skill as IntentRequests HOT 3
- Alwxa HOT 1
- maven artifacts for ASK SDK for Java should not depend on an SLF4J binding, but only the API
- Hello World Servlet - There was a problem with the requested skill's response HOT 2
- ServiceClientFactory in SMAPI SDK clashes with core one HOT 2
- Release notes for 2.38.0 missing HOT 1
- Conflicting persistence adapter configuration HOT 1
- Dependency org.apache.httpcomponents:httpclient, leading to CVE problem HOT 1
- Releases are outdated HOT 1
- Missing CI on PRs HOT 2
- Feature: support SHA256withRSA algorithm for signature HOT 1
- Missing withExperimentation method in ResponseBuilder for ask-sdk-core 2.42.3 HOT 1
- Deserialization of non-published Requests fails
- CVE-2022-31159 vulnerable
- missing assertions on unit tests
- migrate from Java EE to Jakarta EE HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexa-skills-kit-sdk-for-java.