且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置 Spring 类路径

更新时间:2023-01-11 11:19:17

您似乎是从命令行运行项目.运行以下命令:

It seems like you are running your project from command line. Run following command :

java -classpath spring.jar;spring-sec.jar,......com.example.UrMainClass 上

java -classpath spring.jar;spring-sec.jar,......so on com.example.UrMainClass

在命令中指定 jar 时,请确保提供 jar 的完整路径.另请查看此链接 https://***.com/a/10122038/1065180

while specifying jar in command, make sure you provide complete path of jar. Also check this link https://***.com/a/10122038/1065180