亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

無法轉換為java.lang.Throwable
阿神
阿神 2017-04-18 10:56:37
0
2
1383

java: 不兼容的類型: org.exolab.castor.xml.MarshalException無法轉換為java.lang.Throwable

            try{
                marshaller.marshal(rpic);
            }catch (MarshalException e) {
                
            } catch (ValidationException e) {
               
            }

這兩個異常都無法通過catch捕獲,是這兩個異常無法轉化為java.lang.Throwable。

阿神
阿神

閉關修行中......

reply all(2)
洪濤

Look at the source code of this class. How can it be called Exception if it is not inherited from Throwable?
Additional:
I tried it specially and there is no problem. It is recommended to check the code and configuration

伊謝爾倫

The castor-core-1.3.3.jar that this jar depends on is not fully downloaded in the local maven repository.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template