【发布时间】:2023-03-09 03:10:02
【问题描述】:
我正在尝试在我的程序中运行 TTest,但导入导入它所需的类不起作用。
我试过了:
import java.lang.Object.org.apache.commons.math3.stat.inference.TTest;
和
import org.apache.commons.math3.stat.inference.TTest;
以及一些不起作用的组合。
如果你知道怎么做,请告诉我!
在里面我正在使用
TTest test = new TTest();
所以如果这是错误,请告诉我!
【问题讨论】:
-
你的类路径中有
commons-math吗?您得到的具体错误是什么? -
我不知道将 commons-math 放在我的类路径中意味着什么。 :(
-
I getException in thread "main" java.lang.Error: Unresolved compiler questions: TTest cannot be resolve to a type TTest cannot be resolve to a type at MatchTx.weightPathways(MatchTx.java:287)在 MatchTx.main(MatchTx.java:37)
标签: java import apache-commons