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新特性,就不会报错了。