twogoods

Results 8 issues of twogoods

when I send a long time block query, it say timeout`com.ecwid.consul.transport.TransportException: java.net.SocketTimeoutException: Read timed out` and I find this code: ``` public AbstractHttpTransport() { PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(); connectionManager.setMaxTotal(1000);...

``` type Mutation { demoflowtwo_entities_createRepairApply(body: RepairApplyInput): RepairApply demoflowtwo_entities_createRepairMan(body: RepairManInput): RepairMan demoflowtwo_entities_deleteRepairApply(id: Long): Long demoflowtwo_entities_deleteRepairMan(id: Long): Long demoflowtwo_entities_updateRepairApply(body: RepairApplyInput): RepairApply demoflowtwo_entities_updateRepairMan(body: RepairManInput): RepairMan } type Query { demoflowtwo_entities_getAllRepairApplies(query: String): [RepairApply] demoflowtwo_entities_getAllRepairMen(query:...

class. getMethods()得到公共方法,class. getDeclaredMethods()得到所有的可得不到继承的,实际需要两者综合考虑,得到全部的类信息

MyBatisMapperScannerConfig里的bean可以放在MyBatisConfig里吗?我尝试了报错。 我这边两个类里都打印了几句话,打印的信息看到确实是MapperScannerConfig比MyBatisConfig早执行,关键是`basePackage`没法读到配置的值,这个加`@AutoConfigureAfter`也没用,而且加了MapperScannerConfig还比MyBatisConfig 早执行.... ``` @Configuration public class MapperScannerConfig { @Value("${datasource.basePackage:com.tg.ms.mapper}") private String basePackage; @Bean public MapperScannerConfigurer BPMapperScannerConfigurer() { System.out.println("mapper--1.----******----"+basePackage+"----*******"); MapperScannerConfigurer mapperScannerConfigurer = new MapperScannerConfigurer(); mapperScannerConfigurer.setBasePackage("com.tg.mapper"); mapperScannerConfigurer.setSqlSessionFactoryBeanName("sqlSessionFactoryBean"); return mapperScannerConfigurer; } }...

I want to modify class when compile ``` net.bytebuddy byte-buddy-maven-plugin 1.14.4 transform xxx xxx ${revision} org.xxx.TestPlugin ``` exception is ``` Caused by: java.lang.AbstractMethodError: org.xxx.Generator.wrap(Lnet/bytebuddy/description/type/TypeDescription;Lnet/bytebuddy/jar/asm/ClassVisitor;Lnet/bytebuddy/implementation/Implementation$Context;Lnet/bytebuddy/pool/TypePool;Lnet/bytebuddy/description/field/FieldList;Lnet/bytebuddy/description/method/MethodList;II)Lnet/bytebuddy/jar/asm/ClassVisitor; at net.bytebuddy.asm.AsmVisitorWrapper$Compound.wrap(AsmVisitorWrapper.java:746) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$WithFullProcessing$RedefinitionClassVisitor.visit(TypeWriter.java:5004) at net.bytebuddy.jar.asm.ClassReader.accept(ClassReader.java:569)...

question

``` @Advice.OnMethodEnter(skipOn = Advice.OnNonDefaultValue.class) public static boolean enter(@Advice.Origin Method method, @Advice.This(typing = Assigner.Typing.DYNAMIC) Object obj) { method.invoke(); } ``` if method is private,you can't use obj.xxx() reflection can do this,decompile...

question

I'm studying the spring-ai-alibaba-examples, this configuration appears in mcp-nacos-dynamic-example. I understand that if a tool is disabled on the Nacos console, the client should no longer receive that tool. Why...

if instance has metadata like key=a/b,in xml the value is illegal,so xml response serialize will error