How to resolve java.lang.ClassNotFoundException: DocumentException

43
January 11, 2019, at 10:50 AM

I am using Spring Boot with spring security application, i am getting below exception while starting the application

java.lang.ClassNotFoundException: DocumentException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_181]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_181]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[na:1.8.0_181]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_181]
at org.springframework.boot.devtools.restart.classloader.RestartClassLoader.loadClass(RestartClassLoader.java:151) ~[spring-boot-devtools-1.3.1.RELEASE.jar:1.3.1.RELEASE]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_181]

Which jar is missed?

Answer 1

dom4j.jar seems to be missing. Try adding that into the classpath.

READ ALSO
BCrypt updating the library and interations - would it break my login?

BCrypt updating the library and interations - would it break my login?

I’ve an old legacy application using Spring Security (31

57
How would you insert one node into another at the treepath?

How would you insert one node into another at the treepath?

I have two nodes and one TreePath in Java SwingOne node contains the 'root' node (let's call this nodeA), it contains everything under it

42