可以参考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了
分享到:
相关推荐
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 ...
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 ...
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 ...
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 ...
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 ...
(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 ...
Pure Mathematics is the class of all propositions of the form “p implies q,” where p and q are propositions containing one or more variables, the same in the two propositions, and neither p nor q ...
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 ...
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,...
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
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, ...
龙芯1B:NOR Flash编程烧录PMON 龙芯1B NOR Flash编程烧录PMON是将PMON烧录到 NOR Flash芯片中,以便于龙芯1B的正常工作。本文将详细介绍龙芯1B NOR Flash编程烧录PMON的步骤和注意事项。 龙芯1B NOR Flash编程...
Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has...
3. Neither...nor...:既不...也不... 4. A kind of:一种... 5. Lot of/lots of:很多。 七、特殊用法及短语 1. Take a seat:请坐。 2. Home cooking:家常菜。 3. Be famous for:因...而出名。 4. On one’s ...
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.