Skip to main content

One post tagged with "graalvm"

View All Tags

Spring Boot项目启用native构建后由于序列化对象缺少ReflectionHints导致json数据为'{}'

· One min read
orange
programmer on jvm platform

基于graalvmspring boot项目打包好后调用/scheduling/api/v1/taskDefinitions接口返回如下数据, 其中triggerStrategy字段是空json对象

[
{
"id": "BILLING_SYNC_FOR_DEPLOYMENT_127",
"triggerStrategy": {},
"tags": {
"EXECUTOR": "com.fastonetech.billing.sync.scheduling.BillingSyncTaskExecutor"
},
"variables": {
"SOURCE_RCLONE_CONFIG": "TENCENT_ap-beijing",
"SOURCE_BUCKET": "cheng1201-1310454728",
"SOURCE_PATH": "",
"TARGET_RCLONE_CONFIG": "aggregation",
"TARGET_BUCKET": "billing-aggregation",
"TARGET_PATH": "TENCENT/ap-beijing/cheng1201-1310454728"
}
}
]