繁体   English   中英

设置类路径时出错

[英]Error setting classpath

我想在项目Async-HTTP-Client的Realm.java类上运行自动测试用例生成工具。

我找到了它的路径:

[dario@bob async-http-client]$ find /home/dario/async/553/prefix -name Realm.java
/home/dario/async/553/prefix/async-http-client/api/src/main/java/org/asynchttpclient/Realm.java

因此,将类路径设置为:

[dario@bob async-http-client]$ echo $CLASSPATH
/home/dario/async/553/prefix/async-http-client/api/src/main/java:/home/dario/async/553/prefix/async-http-client/evosuite-tests:/home/dario/testEnv/684131/prefix/rhino/lib/xbean.jar:/home/dario/evosuite/target/evosuite-0.1-SNAPSHOT-jar-minimal.jar

但是当我运行命令生成测试时:

[dario@bob async-http-client]$ ~/evosuite/target/bin/EvoSuite -class org.asynchttpclient.Realm -projectCP /home/dario/async/553/prefix/async-http-client/api/src/main/java:/home/dario/testEnv/684131/prefix/rhino/lib/xbean.jar
* EvoSuite 0.1-SNAPSHOT
* Unknown class: org.asynchttpclient.Realm

有人告诉我该课程不存在。

有想法吗?

据Google透露,EvoSuit需要编译的类。

我的猜测是,您Fourer没有编译该类,或者该类位于另一个目录中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM