我单元测试的时候报这种错误
Caused by: java.lang.ClassNotFoundException: weblogic.utils.NestedException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 60 more
解决方案:
Just add "wlfullclient.jar" in your classpath....
https://community.oracle.com/thread/959937
我添加了
<dependency> <groupId>custom.com.oracle</groupId> <artifactId>wlthint3client</artifactId> <version>10.3.3</version> <scope>test</scope> </dependency>
好了
标签:lang,ClassNotFoundException,NestedException,java,URLClassLoader,ClassLoader,util From: https://www.cnblogs.com/zno2/p/6101876.html