调试Java发现异常:Unsupported major.minor version 52.0这是因为Java_Home指向1.7,但是Jar是使用JDK1.8编译;将JAVA_HOME指向1.8即可;
异常:Expected FS Format between ‘1‘ and ‘4‘, but found ‘6‘,这是因为repository使用1.8,但是eclipse的subEclipse版本却很低,下载使用site1.10.zip;Help -> Install New Installation... -> Archeve;
tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory;maven执行cobertura总是报这个错误,原来是默认引用的sjf太老了;<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.5.6</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.5.6</version> </dependency> 问题搞掂;
RocketMQ发布在git上面,管理使用的是Maven,导入到方式:首先在git repository视图中,在右上角点击"add a new repository and add it to this view";然后配置为rocketmq的git地址即可;添加仓库成功后,File-import-Existing maven project,路径就选择本地仓库路径即可导入maven项目;