maven ------error in opening zip file

项目本来是用Maven2 管理的,今天做单元测试,发现以下错误,查找资料得知log4j有关。
--------------------------------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.wso2.carbon.caching.core: Compilation failure
Failure executing javac, but could not parse the error:
错误:读取 C:\Users\Lee\.m2\repository\org\infinispan\infinispan-core\4.1.0.CR2\infinispan-core-4.1.0.CR2.jar 时出错;error in opening zip file
-------------------------------------------------------------------------------------------------

该问题已经解决,只是将 log4j 的版本从1.2.13改成1.2.14,但是具体出错原因我还没有找到,希望有人能把解决方法贴到回复里面,我好做有满意答案结贴方便以后查找的人^_^

对于log4j1.2.15版本也有解决办法,
下面文章讲了
引用
http://tsaijemmy.spaces.live.com/blog/cns!4AD532D0CD18A21D!1505.entry

Log4J 1.2.15依赖三个Jar之故。

猜你喜欢

转载自fengdao11.iteye.com/blog/1129080