Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

jaxb2 xjc drags in old jaxb

brandon chubbNov 28 2023 — edited Nov 30 2023

It seems when I try to upgrade to jaxb2, and specifically jaxb2-basics-jaxb-xjc – then that includes a com.sun.tools.xjc.api.ErrorListener (interface) that is derived from com.sun.xml.bind.api.ErrorListener. To get that 2nd ErrorListener I can pull in the old jaxb (jaxb-core or jaxb-impl) and then I get an error message about:

java.lang.NoSuchFieldError: disableXmlSecurity

I take this to mean I'm trying to mix incompatible class versions. What should I really be including to make the newer xjc happy?

Comments

Hiroshi Tonegawa May 31 2024

追加情報です。

リスナーからエラーメッセージでておりました。ただどうしたら良いのかわかりません。

そのlog(TNSLSNR.log)を添付しました。ここから原因、また対処法など解析できませんでしょうか?

大変困っております。よろしくお願いいたします。

TNSLSNR_496.log

1 - 1

Post Details

Added on Nov 28 2023
10 comments
402 views