Relative Content

Tag Archive for javamavenintellij-idea

Idea fails to load a maven untracable dependency

We are using internal Nexus for all maven dependencies, a direct access is prohibited. Suddenly, the maven import in IntelliJ Idea 2024.1 started to fail while maven command line is still working. Missing dependencies contains vulnerabilities and their binary jars were deleted from Nexus. I tried to locate where these libraries are coming from but they are not referenced in any of our projects and even maven transitive dependencies report cannot find them.

Intellij Idea build error: NoClassDefFoundError : javax/xml/bind/JAVAXBException

Our company forced me to change to newer Intellij Idea version 2023.1 but I encounter error whenever I build our project in it (using the hammer icon or Build->Build Project, or whenever Intellij runs build automatically):
java: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException javax.xml.bind.JAXBException