[英]How find a jar file in compile-time and run-time classpath?
i encounter a java.lang.NoClassDefFoundError and i'm finding compile-time and run-time classpath,but i don't know how to find them? 我遇到java.lang.NoClassDefFoundError,正在寻找编译时和运行时的类路径,但是我不知道如何找到它们? thank you!
谢谢!
you could try to use the next line: System.out.println (System.getProperty ("java.class.path")); 您可以尝试使用下一行:System.out.println(System.getProperty(“ java.class.path”)); I hope that this could help you to find the location of the classpath
我希望这可以帮助您找到类路径的位置
Have a nice day! 祝你今天愉快!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.