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