可以参考http://blog.csdn.net/chen_yu_ting/article/details/6606494
或者 http://learning.iteye.com/admin/blogs/1216342
一,遇到此问题是因为我直接把自定义对象放到ArrayList里面,然后返回这个ArrayList出的问题,提示说
class com.test.xxx nor any of its super class is known to this context. 按照上面连接里描述的 多创建了一个辅助类,把ArrayList封装在这个类中 返回这个封装类即可
上面是使用jdk自带的webservice api出的问题
二,如果是用CXF出现 nor any of its super class is known to this context,你需要指明集合里面存放的具体类型
比如说你调用webservice传的是List
1,
List list =new ArrayList();
list.add(对象A);
如果直接把list传过去就会出现以上问题
2,List<对象A> list =new ArrayList<对象A>();
list.add(对象A);
这样就OK了
分享到:
相关推荐
material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission ...
The goal of this guide is to manage this complexity by describing in detail the dos and don'ts of writing C++ code. These rules exist to keep the code base manageable while still allowing coders to ...
In publishing and making this document available, PMI is not undertaking to render professional or other services for or on behalf of any person or entity, nor is PMI undertaking to perform any duty ...
This book was previously published by: Pearson Education Inc., formerly known as Prentice-Hall. Inc. No part of this publication may be reproduced. stored in a retrieval system or transmitted in any ...
(a) filling in skeleton tables of the database with examples of what is to be retrieved (b) placing SQL keywords, such as select, under the column names they want to retrieve (c) typing a ...
This is synonymous with deliverable, that is defined as “any measurable, tangible, verifiable outcome, result or item that must be produced to complete a project or part of a project. Often used ...
Neither Schneider Electric nor any of its affiliated or subsidiary com‐ panies are responsible or liable for a misuse of the information contained herein. If you have any suggestions for ...
Apart from the license rights expressly set forth in this Agreement, Broadcom does not grant and Licensee does not receive any ownership right, title or interest nor any security interest or other ...
apparent by having a quick look into any major conference in computer vision, where a significant number of papers use optimization techniques. Many important problems in computer vision such as ...
Any redistribution or reproduction of part or all of the content in any form is prohibited other than to print a personal copy of the entire document or download it to a local hard disk, without ...
The SOFTWARE PRODUCT is licensed (not sold) to you, and its use is subject to the terms of this Agreement. This is NOT a sale contract. DEFINITIONS “SOFTWARE PRODUCT” means computer software,...
龙芯1B:NOR Flash编程烧录PMON
27 party implementing such standard, whether such implementation is foreseeable or not, nor to any patent 28 owner or claimant, and shall have no liability or responsibility for costs or losses ...
Not to be used, copied, reproduced in whole or in part, nor its contents revealed in any manner to others without the express written permission of Qualcomm. Qualcomm reserves the right to make ...
- If any part of this License is found to be void and unenforceable it will not affect the validity of the remainder of this License, which shall remain valid and enforceable according to its terms. ...
This document has been developed by NIST in furtherance of its statutory responsibilities (under the Computer Security Act of 1987 and the Information Technology Management Reform Act of 1996, ...
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor theeditors nor the publisher can accept any legal responsibility...
Neither the United States government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, ...
The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers.