当前位置:编程学习 > JAVA >>

Thinking in JAVA 中,总是出错,static Test monitor = new Test();的错误信息:

错误信息:Adds the JUnit 3 library to the build path.所以后面monitor.expect(new String[] {也出错~~
答案:right click on "JRE Sytem Library [JavaSE-1.6]"
-> Build Path
-> Configure Build Path
-> Java Build Path
-> Libraries
-> Add Library
-> JUnit
-> Junit 3
-> Finish
(MyEclipse 8.5 M1)
其他:工程—右键—property—libraries—Add Libraries—JUnit—选择JUnit 3—finish 

上一个:我用j2me访问一个aspx 接口,没有返回需要的东西
下一个:要大三了,VC++开发与java(j2ee与android)方向选不定 请懂的高手提供建议呀!

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,