我有一些使用轴 wsdl2java 生成的 java 类。我想使用这些类以 Json 格式返回,但我不断收到各种错误,例如cannot convert Incident Object to HttpResponse try to make it writable
.
当尝试使用Writable
它时,要求我检查它是否有apply
方法。
有什么快速的方法可以让我按原样使用 java 类,而不必费心制作案例类。
我有一些使用轴 wsdl2java 生成的 java 类。我想使用这些类以 Json 格式返回,但我不断收到各种错误,例如cannot convert Incident Object to HttpResponse try to make it writable
.
当尝试使用Writable
它时,要求我检查它是否有apply
方法。
有什么快速的方法可以让我按原样使用 java 类,而不必费心制作案例类。