Closed kangyujian closed 3 years ago
你好,"Error: Could not find or load main class edu.lu.uni.serval.MainParser"这个错误,我不知道是怎么造成,估计是没有编译成功吧。 "Could not find artifact edu.lu.uni:simple-utils:jar:0.0.1-SNAPSHOT",这个错误是需要先编译好 https://github.com/SerVal-DTF/debug-method-name/tree/master/simple-utils 这个小项目。 如果你把所有的项目都在一个eclipse打开的话,应该不会有这样的问题。
On Wed, 20 Jan 2021 at 19:24, dreamcold notifications@github.com wrote:
Hello, I'am sorry to disturb you.I run the script according to the method of readme and report an error."Error: Could not find or load main class edu.lu.uni.serval.MainParser",I think that maybe I' am not use maven to compile this project like yours.then,I use maven command to try to compile the project,but it's give a error that "Could not find artifact edu.lu.uni:simple-utils:jar:0.0.1-SNAPSHOT",then,I try to use Idea to load Multi module to compile this project ,but I got the same error,I want to know whether I should use maven to compile your project before I use your project.
您好,非常不好意思打扰您,我的英语有点差,我尝试运行您的项目尝试了很多次都跑不起来,所以想请教一下您。我按照您的README中的操作来运行代码,但是报错如下"Error: Could not find or load main class edu.lu.uni.serval.MainParser",我想是不是在运行您的命令之前要先编译,所以在ubuntu下命令行下,我使用maven命令进入 DebugMethodName目录,编译这个子项目,但是报错了"Could not find artifact edu.lu.uni:simple-utils:jar:0.0.1-SNAPSHOT",我之后在windows用IDEA来配合maven多模块编译,但是还是报错,所以想请教一下您是否在运行您的脚本前要先用maven编译,如果要编译的话,怎么编译?希望您能给一点点指点,非常感激!!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SerVal-DTF/debug-method-name/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEE6IKT6BLKD45NSG6U2OTDS224NNANCNFSM4WKQWTMA .
Hello, I'am sorry to disturb you.I run the script according to the method of readme and report an error."Error: Could not find or load main class edu.lu.uni.serval.MainParser",I think that maybe I' am not use maven to compile this project like yours.then,I use maven command to try to compile the project,but it's give a error that "Could not find artifact edu.lu.uni:simple-utils:jar:0.0.1-SNAPSHOT",then,I try to use Idea to load Multi module to compile this project ,but I got the same error,I want to know whether I should use maven to compile your project before I use your project.
您好,非常不好意思打扰您,我的英语有点差,我尝试运行您的项目尝试了很多次都跑不起来,所以想请教一下您。我按照您的README中的操作来运行代码,但是报错如下"Error: Could not find or load main class edu.lu.uni.serval.MainParser",我想是不是在运行您的命令之前要先编译,所以在ubuntu下命令行下,我使用maven命令进入 DebugMethodName目录,编译这个子项目,但是报错了"Could not find artifact edu.lu.uni:simple-utils:jar:0.0.1-SNAPSHOT",我之后在windows用IDEA来配合maven多模块编译,但是还是报错,所以想请教一下您是否在运行您的脚本前要先用maven编译,如果要编译的话,怎么编译?希望您能给一点点指点,非常感激!!