cxf启动报错 Could not compile java files for http://10.10.130.28:8004/Service/VisaService.asmx?wsdl....

本文记录了在使用Apache CXF创建SOAP客户端时遇到的编译错误,并提供了相应的解决方案,包括更新CXF jar包到最新版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

七月 26, 2017 5:27:40 下午 org.apache.cxf.endpoint.dynamic.DynamicClientFactory createClient
严重: Could not compile java files for http://10.10.130.28:8004/Service/VisaService.asmx?wsdl.
七月 26, 2017 5:27:50 下午 org.apache.cxf.jaxb.JAXBUtils logGeneratedClassNames
信息: Created classes: org.tempuri.DeposDepos, org.tempuri.DeposDeposResponse, org.tempuri.EditProjectByProjectCode, org.tempuri.EditProjectByProjectCodeResponse, org.tempuri.EditVisitorName, org.tempuri.EditVisitorNameResponse, org.tempuri.EditVisitors, org.tempuri.EditVisitorsResponse, org.tempuri.GetAssistant, org.tempuri.GetAssistantResponse, org.tempuri.GetVisitorsRelation, org.tempuri.GetVisitorsRelationResponse, org.tempuri.HelloWorld, org.tempuri.HelloWorldResponse, org.tempuri.ManyEditVisitors, org.tempuri.ManyEditVisitorsResponse, org.tempuri.MessagrMqInfo, org.tempuri.MessagrMqInfoResponse, org.tempuri.ObjectFactory, org.tempuri.OrderInfo, org.tempuri.OrderInfoResponse, org.tempuri.OrderInfoTest, org.tempuri.OrderInfoTestResponse, org.tempuri.PaymentOrderInfo, org.tempuri.PaymentOrderInfoResponse, org.tempuri.SendVisitorName, org.tempuri.SendVisitorNameResponse, org.tempuri.SingleVisitorInfo, org.tempuri.SingleVisitorInfoResponse, org.tempuri.TeamInfo, org.tempuri.TeamInfoResponse, org.tempuri.VisitorInfo, org.tempuri.VisitorInfoResponse
javac: 目标发行版 1.5 与默认的源发行版 1.7 冲突

解决方法,更新cxf jar包至最近版本

转载于:https://www.cnblogs.com/taz372436/p/7245173.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值