、Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
java.util.Map is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at java.util.Map
at private java.util.Map com.cecltd.service.jaxws_asm.SayHi.arg0
at com.cecltd.service.jaxws_asm.SayHi
java.util.Map does not have a no-arg default constructor. this problem is related to the following location:
at java.util.Map
at private java.util.Map com.cecltd.service.jaxws_asm.SayHi.arg0
at com.cecltd.service.jaxws_asm.SayHi
解决方法:将服务端的services接口返回的Map类型的值,改成HashMap.
结论:在做webServices复杂类型值传递时,返回值的类型不要用接口类型。例如(List应该改为ArrayList,Map改为HashMap等)
分享到:
相关推荐
Delphi and C++ Builder files are now located in StudioNum folders instead of old DelphiNum and CBuilderNum folders. Update your search paths if needed 3)....Added: Major improvements in ...
The Struts Flow of Control and the Six Steps to Implementing It Section 10.4. Processing Requests with Action Objects Section 10.5. Handling Request Parameters with Form Beans Section 10.6. ...
I have just finished an amazing and inspiring book that I'd like to make you aware of - Small Loans, Big Dreams - by my good friend, colleague, and advisor Alex Counts, President and CEO of the ...
The Struts Flow of Control and the Six Steps to Implementing It Section 10.4. Processing Requests with Action Objects Section 10.5. Handling Request Parameters with Form Beans Section 10.6. ...
9.3.1 Monitoring and Fixing Errors ...............................350 9.3.2 Alex King’s 404 Notifier Plugin .....................................................351 9.3.3 Broken Link Checker Plugin ....
combinations of prefix handle and pathname. BZ 478 Example Code and Data Size: These are the sizes for the OS- independent acpica.lib produced by the Microsoft Visual C++ 6.0 32- bit compiler. The ...
ICETOOL is designed to handle a wide range of data processing and reporting tasks, including but not limited to: - **Sorting**: Efficiently sort large datasets based on specified criteria. - **...
echats地图资源 来源于https://www.isqqw.com/
Reference counts and cycles Object properties Accessing multiple properties at once The GObject messaging system Closures C Closures non-C closures (for the fearless). Signals Signal ...
The autobaud sequence tries a variety of baud rates, some of which are not supported by RS-232 interfaces (but are supported on USB virtual COM ports). This was not handled properly, so if a call was...
Range of address that can be paged in and out of physical memory. Typically used by drivers who need memory but do not need to access that memory from DPC/dispatch of above interrupt level. ...
and packet counts of a flow. In addition, intraflow metadata, or information about events that occur inside of a flow, can be collected, stored, and analyzed within a flow monitoring framework. This ...
SPSS Data Analysis for Univariate, Bivariate, and Multivariate Statistics offers a variety of popular statistical analyses and data management tasks using SPSS that readers can immediately apply as ...
$ meteor add cottz:counts 快速开始 // server Meteor . publish ( 'users' , function ( ) { var cursor = Meteor . users . find ( ) ; Counts . create ( cursor , 'users' , 5000 ) . publish ( this ) ; ...
Please make sure that slot number of the CPU is entered and not of the Profibus-CP!! - The driver now supports the different date and time data types of the S7 PLC. See Topic "Hardware Options ...
test and build tools, source control, continuous integration, and other built-in parts of the software development lifecycle generate a wealth of data that can be used to track and improve the ...
LocMetrics counts total lines of code (LOC), blank lines of code (BLOC), comment lines of code (CLOC), lines with both code and comments (C&SLOC), logical source lines of code (SLOC-L), McCabe VG ...
Using a new method CBCGPCalculator::SetExtendedCommands developers can add a lot of build-in calculator commands such as idCommandAdvSin, idCommandAdvCos, idCommandAdvTan and others. ...