opensolon / solon

🔥 Java "new" application development Framework: Restrained, concise, EFFICIENT, OPEN, ECOLOGICAL!! 300% higher concurrency 50% memory savings Startup is 10 times faster. Packing 90% smaller; Compatible with java8 ~ java22.
https://solon.noear.org
Apache License 2.0
2.22k stars 221 forks source link

lettuce-solon-plugin native编译出来的包,无法注入配置 #277

Closed arvinzhen closed 2 months ago

arvinzhen commented 2 months ago

image

noear commented 2 months ago

native编译。。。比较麻烦。。。这种情况,你可以添加些手动的注册(具体要研究)

arvinzhen commented 2 months ago

有啥方向嘛 无处下手🥲

西东 @.***> 于2024年6月22日周六 11:30写道:

native编译。。。比较麻烦。。。这种情况,你可以添加些手动的注册(具体要研究)

— Reply to this email directly, view it on GitHub https://github.com/opensolon/solon/issues/277#issuecomment-2183743698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIHLQ6PZOFLUY3ESGC376TZITVV5AVCNFSM6AAAAABJVKFO6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTG42DGNRZHA . You are receiving this because you authored the thread.Message ID: @.***>

noear commented 2 months ago

细节我也不好讲。。。官网的原生编译相关的材料,一定要熟

arvinzhen commented 2 months ago

你好呀, 似乎是注入配置的问题 image

改成先注入配置就行了, 之前是Inject("${cache.redis1}")