[Solved] How to fix java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

preview_player
Показать описание

The highly possible cause of this error is:
- JAXB (Java Architecture for XML Binding) is missing in the classpath
- Program runs on JDK 11 or newer (JAXB was removed since JDK 11)

Solution to fix:
- Use older version of JDK (8, 9, 10)
- Add JAXB library to the classpath
Рекомендации по теме
Комментарии
Автор

Anh ơi của e bị DatatypeConverter chứ k phải JAXBException thì phải làm sao ạ? 😢
fix error

michan-thehappykitchen
Автор

I don’t understand this. I have no idea how to get this coding mechanism up on my PC at all! I’ve been trying to fix for about a week now, I even had to reset my Pc, however it still comes up everytime I try to load modded minecraft.

bigbagofdissapointmentx
Автор

I am trying to run a zeppelin start script on Mac, and I was getting above error. May be due to higher Java version
How do I tackle this error when occurring on start an appcliation.

DecKottur
Автор

I have to use 11 then how can I fix? Any solution? Jaxb dependencies added but not getting success

sudipto
Автор

Thanks Buddy. You saved me from trouble

codewithavi
Автор

Hey there, I am facing Jakarta.xml.bin.Jaxbexception classnotfound once after upgrading my project to JAVA 11, GRADLE 7.5.1 and cxf plugin version to 4.0.0
I have added Jakarta dependency to my gradle but still the error persists
Can someone provide any insights on this
Thanks in advance!!

alekhyateja
Автор

Hi sir can it solve this error . Are they both same?

govindnair
Автор

Isn't javax deprecated? Shouldn't we replace it by jakarta?

judgemasteryueh
Автор

what is dependency when i use android studio ?

yusuffadhillah
Автор

Thanks for this video. It helped me <3

davipessoa
Автор

error could not find or load main class com.company.main caused by: intellij idea problem

Deepakkumar-ldfz
Автор

I getting this error every time i open pycharm.Wht to do??

distilledpoison