跑单测用例的时候,以前执行成功的用例,运行时控制台仍然会报 dubbo 相关的错误: Failed to save registry store file, cause: Can not lock the registry cache file 2016-03-22 17:16:05,493 [DubboSaveRegistryCache-thread-1] WARN  com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry -  [DUBB…
jdk,tomcat更新到jdk1.8与 tomcat8 运行报错:java.io.IOException: invalid constant type: 15 pom.xml文件中更新javassist的版本从3.15到3.18 <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.18.2-GA<…
原因: mockito内部使用的javassit的版本不一致导致的,修改为一直版本即可. 异常内容: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=54916:/Applic…
spring-boot项目,生产环境运行一段时间后,上传图片报错,如下: threw exception [Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.io.IOException: The tempora…
java.lang.RuntimeException: java.io.IOException: invalid constant type: 15 controller通过dubbo调用service时,参数没有序列化!!! int String 等不用序列化,  但 javaBean,集合等必须要序列化才可以 网上结果很多都是因为框架版本冲突,不排除这种可能.…
try {    randomAccessFile = new RandomAccessFile(file, "rw");    lock = randomAccessFile.getChannel().tryLock();} catch (IOException e) {    e.printStackTrace();}出现如下异常:Caused by: java.io.IOException: No locks available    at sun.nio.ch.FileChan…
java.io.IOException: mark/reset not supported at java.io.InputStream.reset(InputStream.java:348) at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(SoftMidiAudioFileReader.java:139) at javax.sound.sampled.AudioSystem.getAudioInputStre…
通过本文, 我们明白了什么是 jar的清单文件 MANIFEST.MF, 简单示例: E:\ws\Test\WEB-INF\classes>jar cvfm testCL.jar ListTest.class java.io.IOException: invalid header field at java.util.jar.Attributes.read(Attributes.java:) at java.util.jar.Manifest.read(Manifest.java:) at ja…
今天调试google tag manager, 需要看看google analytics source code,无奈没有源码,装个一个插件ejad 还是不行: java.io.IOException: Cannot run program "jad" 搞了半天,原来是jad.exe没有装 http://stackoverflow.com/questions/11421889/jad-eclipse-plugin-installation-issues…
昨晚突然之间mr跑步起来了 jps查看 进程都在的,但是在reduce任务跑了85%的时候会抛异常 异常情况如下: 2016-09-21 21:32:28,538 INFO [org.apache.hadoop.mapreduce.Job] - map 100% reduce 84% 2016-09-21 21:32:30,623 INFO [org.apache.hadoop.mapred.LocalJobRunner] - reduce > reduce 2016-09-21 21:32:3…