WebService call Quote object is not an instance of declaring class error

Source: Internet
Author: User

Error text:

Warning: application {650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/ U261/lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>http:// service.core.ws.component.creditease.com/}nlender2corewebserviceservice#{http:// Service.core.ws.component.creditease.com/}riskfundinfonotice have thrown exception, unwinding now
Org.apache.cxf.interceptor.Fault:object is not a instance of declaring class while invoking public abstract Java.lan G.string Com.creditease.component.ws.core.service.NLender2CoreWebService.riskFundInfoNotice ( java.lang.String) with params [Hello ws].

......

On the internet to see about two reasons:

1, configuration problems

2, client instantiation when the problem

Because the end of the instantiation, no problem, exclude 2, specific configuration problems, one has mentioned the question of the Netizen self-answer: " It is their carelessness caused!" the entity ID of the WebService configuration file is caused by the same entity ID as the Spring profile . It reminds me that the service should have been published before, the method has been in the online environment, but the colleagues wrote this place said her new service, it seems to be a counterweight.

Solve:

This is simple, to find the original (the original is used in the company's own development of the tool configuration, so the configuration file does not, it is no wonder that the fresh learning sister himself and again), the repetition of the deletion, continue to use the original.

WebService call Quote object is not an instance of declaring class error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.