#ed

版本不匹配引发的坑:javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint

发现一个API报了错:javax.validation.UnexpectedTypeException:HV000030:Novalidatorcouldbefoundforconstraint'javax.validation.constraints.NotEmpty'validatingtype'java.lang...

ProceedingJoinPoint获取实现类接口上的注解

 使用aspectj处理拦截aop,需要获取实现类接口上的注解  publicObjectaround(ProceedingJoinPointpjp)throwsThrowable{longtime1=System.currentTimeMillis();StringclassName=p...

ToDoList--HttpMediaTypeNotSupportedException

 org.springframework.web.HttpMediaTypeNotSupportedException:Contenttype'application/x-www-form-urlencoded;charset=UTF-8'notsupportedatorg.springframework.w...

limits the number of elements in an IN predicate to 2100 entries.

org.hibernate.engine.jdbc.spi.SqlExceptionHelper131-[TxId:f68db5f5b-qmgnc^1561639897640^271530,SpanId:360544073895766848]Theincomingtabulardatastream(TDS)remote...

Feign发送Get请求时,采用POJO对象传递参数的最终解决方案 Request method 'POST' not supported (附带其余好几个坑)

yml:feign:httpclient:enabled:trueproperties:#feignfeign.httpclient.enabled=true <!--https://mvnrepository.com/artifact/io.github.openfeign/feign-httpcli...

Tomcat:A cookie header was received[xxxxxx] that contained an invalid cookie. That cookie will be ignored.

 搬运来源:https://blogs.yahoo.co.jp/dk521123/36721868.html*从Tomcat8,Cookie的解析已经符合RFC6265。*由于RFC6265不再接受以前允许的逗号分隔符(例如RFC2109)"Cookie:KEY1=VAL1,KEY2=VAL2"的格式被视为非...

getOutputStream() has already been called for this response

 错误日志里偶尔会有getOutputStream()hasalreadybeencalledforthisresponse这个错误最近发现了高概率复现条件,所以顺手解决了一下: 首先根据这个错误关键信息,得知是错误产生原因是response.getWriter()和response.getOutp...

node.js – 服务器端的客户端证书验证,DEPTH_ZERO_SELF_SIGNED_CERT错误

我正在使用节点0.10.26并尝试建立与客户端验证的https连接. 服务器代码: varhttps=require('https');varfs=require('fs');process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";varoptions={key:f...

Error creating bean with name 'tomcatEmbeddedServletContainerFactory ' (or a BeanPostProcessor involved) returned null

 org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcatorg.springframework.boot.autoconfigure.web.EmbeddedServ...

使用WireShark分析使用RedisTemplate取不到值的问题

现象:使用JavaRedis客户端将数据存放到Redis后,使用redisTemplate却不出来原因:JavaRedis客户端在将数据存放在Redis时,会对Key,Value,Field进行编码。从Redis中取数据时,如果Key、Field的编码和存放时不一样,就会取不出来。就像中文乱码一样,同样的中文字符串,存...

表达式拼接Expression<Func<IEntityMapper, bool>> predicate

///<summary>///重写以筛选出当前上下文的实体映射信息///</summary>protectedoverrideIEnumerable<IEntityMapper>EntityMappersFilter(IEnumerable<IEntityMapper>e...

trace enabled

<system.web><traceenabled="true"localOnly="true"pageOutput="true"/>...
代码星球 ·2020-04-04

Aspect Oriented Programming using Interceptors within Castle Windsor and ABP Framework AOP

http://www.codeproject.com/Articles/1080517/Aspect-Oriented-Programming-using-Interceptors-witDownloadsampleapplication (orseethelateston Github)Intro...

Microsoft.Web.Redis.RedisSessionStateProvider

https://github.com/Azure/aspnet-redis-providershttps://www.nuget.org/packages/Microsoft.Web.RedisSessionStateProvider/...

定时执行任务FluentScheduler

privatevoidForm1_Load(objectsender,EventArgse){Registryregistry=newRegistry();registry.Schedule(()=>DoMyJob()).WithName("DoMyJob").ToRunEvery(1).Days().At(23...
首页上一页...751752753754755...下一页尾页