在tomcat下運行jax-ws 異常
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://tempuri.org/}getprice_Five". Use @XmlType.name and @XmlType.namespace to assign different names to them.
這個就有點杯具,避免這種事情最好是在你implement類中加上targetNamespace,自己一個個找,手動改起來很麻煩。