CXF错误Error:unable to find cxf-manifest.jar
来源:互联网 发布:网络电子备课系统 编辑:程序博客网 时间:2024/06/08 14:57
前言:
之前在做cxf接口调用的时候,在利用cxf的wsdl2java生成客户端调用代码时,遇到了个错误Error:unable to find cxf-manifest.jar,
看了下是在配置环境变量的时候出现了错误;但是由于最近很多来实习的新同事都遇到了这问题,因此在博客记录下,以便遇到这问题的程序员少折腾;
错误如下:
其实从上面可以看出“命令环境变量”已经是配置正确了的,要不然会“不是内部命令错误!”
所以问题的原因就是:cxf在运行/bin目录下的wsdl2java时需要相应的依赖jar,而依赖的jar是在/lib目录下的;
环境变量配置如下:
上面的变量配置是配置到cxf的/bin目录下,在path中引用,看起来没什么问题,但是还是报错了。
那是
因为运行wsdl2java时会自动取%CXF_HOME%/lib目录下的依赖jar进行运行,即:在%CXF_HOME%目录基础上自动加上/lib目录,
但是由于之前的CXF_HOME配置的是E:\cxf_workplace\apache-cxf-3.1.6\bin ,是直接配置到/bin目录下的,所以cxf就回去寻找E:\cxf_workplace\apache-cxf-3.1.6\bin\lib ,
这个路径肯定是找不到了;
所以才有了以上错误;
解决方法:
知道了原因之后,解决方法就很简单了,
将CXF_HOME配置为 : E:\cxf_workplace\apache-cxf-3.1.6
将Path配置为:%CXF_HOME%\bin;
好了问题解决!
1 0
- CXF错误Error:unable to find cxf-manifest.jar
- 错误"Unable to find manifest signing certificate in the certificat...
- 错误"Unable to find manifest signing certificate in the certificat...
- 错误"Unable to find manifest signing certificate in the certificat...
- 错误 "Unable to find manifest signing certificate in the certificat"
- Error: Unable to find manifest signing certificate in the certificate store
- error MSB3323: Unable to find manifest signing certificate in the certificate st
- 错误"Unable to find manifest signing certificate in the certificate store"的解决方法
- C#_错误"Unable to find manifest signing certificate in the certificate store"
- CXF
- CXF
- cxf
- CXF
- CXF
- CXF
- CXF
- Cxf
- cxf
- golang的select典型用法
- HDU 1005 Number Sequence
- Android和Linux底层通信机制实现
- jquery的click事件失效
- next_permutation函数 in c++
- CXF错误Error:unable to find cxf-manifest.jar
- EAS BOS对于二次开发的目录在子系统树中没有正确显示问题检查
- JDK源码学习(4)-HashMap的遍历方式,两种迭代器源码分析
- struts2的s:iterator标签在jsp页面获取action中数组对象
- django入门:get() returned more than one topic
- PAT (Basic Level) Practise (中文)1041. 考试座位号(15)
- [leetcode] 58. Length of Last Word
- $(document).ready()方法
- centos6.4下编译安装 python2.7