GitHub user zrlw added a comment to the discussion: why the tri protocol could
not use the same port number as spring.server.port?
Add jackson dependencies to dubbo-samples-native-image-provider,
```
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
```
then you could take ```jackson``` as json-framework,
```
spring:
application:
name: dubbo-samples-nativeimage-provider
dubbo:
application:
name: ${spring.application.name}
logger: slf4j
protocol:
name: tri
port: 50052
# serialization: fastjson2
triple:
verbose: true
servlet:
enabled: true
rest:
case-sensitive-match: false
json-framework: jackson
# provider:
# serialization: fastjson2
# consumer:
# serialization: fastjson2
logging:
pattern:
level: '%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]'
server:
port: 50052
http2:
enabled: true
```
GitHub link:
https://github.com/apache/dubbo/discussions/15706#discussioncomment-14506971
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]