WebService报错:Error looking for paramter names in bytecode: unexpected bytes in file


AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - : nested exception is:

  java. lang. IllegalStateException: Error looking for paramter names in bytecode: unexpected bytes in file

AxisFault

faultCode: (http://schemas. xmlsoap. org/soap/ envelope/) Server. userException

faultSubcode:

faultString: java. lang. IllegalStateException: Error 1ooking for paramter names in bytecode: unexpected bytes in filefaul tActor:

faultNode:

faultDetail:

http://xml. apache. org/axis/) hostname

 

这是因为在webservice接口中使用了java8的新特性(stream,lambda等),项目中Axis中版本是1.4,只要在接口中不使用jdk8新特性,就不会报错了。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM