Java
日不落的时代
他年我若为青帝,报与桃花一处开
展开
-
skywalking问题
Error opening zip file or JAR manifest missing : /agent/skywalking-agent.jar2020/9/23 上午10:28:46 Error occurred during initialization of VM2020/9/23 上午10:28:46 agent library failed to init: instrument原创 2020-09-23 10:32:50 · 1368 阅读 · 3 评论 -
EndOfStreamException: Unable to read additional data from client
2020-09-11 01:54:26,041 [myid:1] - WARN [NIOWorkerThread-2:NIOServerCnxn@364] - Unexpected exception2020/9/11 上午9:54:26EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /10.42.4.190:44252, se...原创 2020-09-11 09:58:27 · 8713 阅读 · 7 评论 -
org.springframework.data.redis.serializer.SerializationException: Could not read JSON
java.lang.RuntimeException: org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Invalid UTF-32 character 0x227a5c22 (above 0x0010ffff) at char #15, byte #63); nested exception is java.io.CharConversionException: Inva...原创 2020-08-14 13:51:04 · 2390 阅读 · 0 评论 -
org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResu
org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 0 errors2020/7/29 上午10:23:23at com.xxx.member.web.config.mvc.CustomBodyResolver.resolveArgument(CustomBodyResolver.java:72)2020/7/29 上午10:23:2...原创 2020-07-29 10:38:40 · 723 阅读 · 0 评论 -
c.a.c.c.hessian.io.SerializerFactory - Hessian/Burlap
15:49:10.975 logback [http-nio-8080-exec-3] WARN c.a.c.c.hessian.io.SerializerFactory - Hessian/Burlap: 'com.xxx.search.response.product.ProductEsSkuResponse' is an unknown class in TomcatEmbeddedWebappClassLoader2020/7/2 下午3:49:10context: ROOT20...原创 2020-07-02 16:16:10 · 801 阅读 · 0 评论 -
Error:Internal error: org.jetbrains.jps.model.serialization.CannotLoadJpsModelException
Error:Internal error: (java.util.concurrent.ExecutionException) org.jetbrains.jps.model.serialization.CannotLoadJpsModelException: Cannot parse file /IdeaProjects/live-web/live-web-common/live-web-common.iml: Error on line 1: 文件提前结束。java.util.concurrent.原创 2020-06-12 22:07:06 · 5604 阅读 · 1 评论 -
记一次后端跨域处理
Access to XMLHttpRequest at 'http://xxx.xxx.xxx.xxx:8081/user/login' from origin http://xxx.xxx.xxx.xxx:8082' has been blocked by CORS policy: Response to preflight request doesn't pass access control...原创 2020-05-08 09:35:41 · 235 阅读 · 0 评论 -
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.c
异常: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:298) at org.apache.catalina.connector.O...原创 2019-11-27 17:15:41 · 1219 阅读 · 0 评论 -
mongodb 使用遇到的几个问题。
异常: org.springframework.data.mongodb.UncategorizedMongoDbException: Prematurely reached end of stream; nested exception is com.mongodb.MongoSocketReadException: Prematurely reached end of stream at or...原创 2019-11-21 14:59:50 · 4242 阅读 · 0 评论 -
Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
org.springframework.dao.DataIntegrityViolationException:###Errorupdatingdatabase.Cause:com.mysql.jdbc.MysqlDataTruncation:Datatruncation:Outofrangevalueforcolumn'score'atrow1###The...原创 2019-11-13 11:36:08 · 11487 阅读 · 1 评论 -
HTTP 数组参数get请求
入参{"actIds":[56],"currentPage":1,"currentUserId":"42688733","initiationID":"123456","pageSize":30}数组入参{"actIds":[56,55],"currentPage":1,"currentUserId":"42688733","initiationID":"123456","pageSize...原创 2019-11-03 14:14:08 · 1044 阅读 · 0 评论 -
Java HotSpot(TM) 64-Bit Server VM warning: commit_memory failed; error='Cannot allocate memory'
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f3850010000, 1006567424, 0) failed; error='Cannot allocate memory' (errno=12)## There is insufficient memory for the Java Ru...原创 2019-10-07 23:03:43 · 706 阅读 · 1 评论 -
com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry:221 :: [DUBBO] Failed to save registry store
at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at com.alibaba.dubbo.registry.support.AbstractRegistry.doSaveProperties(Abstrac...原创 2019-10-07 23:04:08 · 1398 阅读 · 1 评论 -
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported
[org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported at org.springframework.web.servlet.mvc.method.annotation.A...原创 2019-09-18 09:56:53 · 1699 阅读 · 0 评论 -
maven依赖冲突处理
首先安装idea 插件Maven Helper方法一:安装好后,在对应的pom文件中查看是否有冲突依赖。点击右键排除即可。pom文件中依赖对应生成<exclusion>标签。<dependency> <groupId>com.xxx.xxx</groupId> <artifactId>servic...原创 2019-08-31 22:47:02 · 350 阅读 · 0 评论 -
log4j:WARN No appenders could be found for logger (freemarker.cache)
在项目中引入了freemarker的依赖包。但是在log4j.properties文件中没有配置对应的日志级别引起的红色警告。如下:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker&l...原创 2019-06-29 13:18:44 · 16556 阅读 · 6 评论 -
The version of ZooKeeper being used doesn't support Container nodes. CreateMode.PERSISTENT will be
2019-07-18 09:36:27,344 main INFO com.alibaba.druid.pool.DruidDataSource:930 :: {dataSource-2} inited2019-07-18 09:36:28,045 main INFO org.apache.curator.utils.Compatibility:48 :: Running in Zoo...原创 2019-07-18 10:16:52 · 9337 阅读 · 0 评论 -
Send to email failed. javax.mail.AuthenticationFailedException: 535 Error: authentication failed
Send to email failed. javax.mail.AuthenticationFailedException: 535 Error: authentication failed, system busy at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:826) at c...原创 2019-08-04 22:10:32 · 799 阅读 · 0 评论 -
Failed to execute goal ?[32morg.apache.maven.plugins:maven-surefire-plugin
[?[1;31mERROR?[m] Failed to execute goal ?[32morg.apache.maven.plugins:maven-surefire-plugin:2.22.1:test?[m ?[1m(default-test)?[m on project ?[36mnep-lib?[m: ?[1;31mThere aretest failures.?[m[?[1;3...原创 2019-08-04 22:12:44 · 868 阅读 · 0 评论 -
fastjson中date转换异常
com.alibaba.fastjson.JSONException: For input string: "Aug 5, 2019 12:00:00 AM" at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:680) at com.alibaba.fastjson...原创 2019-08-05 15:46:47 · 2897 阅读 · 0 评论 -
com.alibaba.com.caucho.hessian.io.SerializerFactory:499 :: Hessian/Burlap: 'com.github.pagehelper.Pa
2019-08-06 13:49:13,898 nioEventLoopGroup-12-1 WARN com.alibaba.com.caucho.hessian.io.SerializerFactory:499 :: Hessian/Burlap: 'com.github.pagehelper.Page' is an unknown class in xxx.xxx.xxxjava.la...原创 2019-08-06 13:54:05 · 910 阅读 · 0 评论 -
Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionExcep
Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolorg.springframework.data.redis.RedisConnectionFailureEx...原创 2019-08-06 13:54:58 · 6038 阅读 · 1 评论 -
org.apache.http.NoHttpResponseException:xxx.xxx.com:443 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)...原创 2019-08-08 17:38:41 · 8833 阅读 · 0 评论 -
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.NullPointerException at sun.reflect.GeneratedConstructorAccessor323.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl...原创 2019-08-09 09:53:08 · 3711 阅读 · 1 评论 -
at org.redisson.RedissonLock.lambda$unlockAsync 解锁异常
exception:java.lang.IllegalMonitorStateException: attempt to unlock lock, not locked by current thread by node id: 7b562ce4-4e16-4d39-a016-4f3118fe38a5 thread-id: 230 at org.redisson.RedissonLock.lamb...原创 2019-08-09 13:59:37 · 1714 阅读 · 1 评论 -
java.sql.SQLException: The MySQL server is running with the --read-only option so it cannot execute
2019-08-14 04:00:17,628 job-event-5 ERROR com.alibaba.druid.pool.DruidDataSource:1602 :: discard connection java.sql.SQLException: The MySQL server is running with the --read-only option so it cannot ...原创 2019-08-19 22:43:31 · 5615 阅读 · 0 评论 -
VM options配置
-Xms512m-Xmn512m-Xmx1g-XX:ReservedCodeCacheSize=240m-XX:MaxMetaspaceSize=512m-XX:+UseG1GC-XX:SoftRefLRUPolicyMSPerMB=50-ea-Dsun.io.useCanonCaches=false-Djava.net.preferIPv4Stack=true-Djdk....原创 2019-08-19 22:41:11 · 34124 阅读 · 0 评论 -
Curator-TreeCache-16 ERROR org.apache.curator.framework.recipes.cache.TreeCache:765
urator-TreeCache-16 ERROR org.apache.curator.framework.recipes.cache.TreeCache:765 :: java.lang.NullPointerException at com.dangdang.ddframe.job.lite.internal.server.ServerNode.isLocalServerPath(Serve...原创 2019-08-16 11:55:45 · 1340 阅读 · 0 评论 -
elastic-job使用过程中的2个问题
先说一下在使用elastic-job中发现的2个问题:1.elastic-job 控制台手动点击任务触发按钮,任务会执行2次2.点击控制台任务失效按钮任务后台仍然执行,没有失效。改问题只针对2.1.5之前的版本存在,在2.1.5及以后的版本已经修复。具体可参考如下地址:https://www.oschina.net/question/3567589_2246367ht...原创 2019-08-12 18:00:11 · 1306 阅读 · 0 评论