slankka

Results 32 comments of slankka

> 可参考FAQ:[https://github.com/dianping/cat/wiki/cat_faq「找不到类的原因和解决方案」](https://github.com/dianping/cat/wiki/cat_faq%E3%80%8C%E6%89%BE%E4%B8%8D%E5%88%B0%E7%B1%BB%E7%9A%84%E5%8E%9F%E5%9B%A0%E5%92%8C%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E3%80%8D) 链接更正:[找不到类的原因和解决方案](https://github.com/dianping/cat/wiki/cat_faq#%E6%89%BE%E4%B8%8D%E5%88%B0%E7%B1%BB%E7%9A%84%E5%8E%9F%E5%9B%A0%E5%92%8C%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88) 更新:可以阅读这个文档[Cat Cookbook](https://www.slankka.com/CatCookbook/zh/guide/development-ide.html)

@nobodyiam 是的。我刚刚看了,spring-boot-maven-plugin配置了`org.apache.maven.plugins.shade.resource.ServicesResourceTransformer`,而且打包出来的jar都是在lib下面的,SPI能找到这两种实现,因此不会出问题。 有些用户可能用的不是spring-boot-maven-plugin,自己配置了maven-shade-plugin,尤其是一些用于非web场景的可执行jar,在实践中,确实容易出问题。

@lzhaoyang [Gradle Shadow Plugin ](https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files)

Same for our company, we use SSH tunnel to access databases for development. And we're not allowed to access Linux server via password, we perfer SSH public keys.

我遇到了这个Case,经过排查, * 发现是执行器采用的是手动注册,不是自动注册。 * 执行器appname没有注入成功。启动日志可以看到失败了。(其实是xx-job服务端,客户端版本不一致) __解决这两个问题,就可以了。__

**Set server-id solved this problem.** 同样遇到这个问题 Flink 1.13.0 Cdc 2.1.1 ``` java.lang.RuntimeException: One or more fetchers have encountered exception at org.apache.flink.connector.base.source.reader.fetcher.SplitFetcherManager.checkErrors(SplitFetcherManager.java:199) ~[flink-table-blink_2.11-1.13.0.jar:1.13.0] at org.apache.flink.connector.base.source.reader.SourceReaderBase.getNextFetch(SourceReaderBase.java:154) ~[flink-table-blink_2.11-1.13.0.jar:1.13.0] at org.apache.flink.connector.base.source.reader.SourceReaderBase.pollNext(SourceReaderBase.java:116) ~[flink-table-blink_2.11-1.13.0.jar:1.13.0] at org.apache.flink.streaming.api.operators.SourceOperator.emitNext(SourceOperator.java:294)...

Solution: To Turn off decodeSlash: Thanks to @zqq90 ``` @FeignClient(name = "yourClient", url= "xxxx", configuration = YourClient.ClientConf.class) public interface YourClient { class ClientConf{ @Bean Contract contract(@Autowired(required = false) List parameterProcessors,...

已经有此选项 ![image](https://user-images.githubusercontent.com/8142133/115980071-66ad4c00-a5bc-11eb-8726-7d1b3bd3fc08.png)

`javafx/application/Application` 找不到,可能是你cmd里面的JAVA和IDEA里面使用的JDK不一样。