Results 1 to 1 of 1
Thread: JUnit issues
- 03-05-2011, 11:48 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 1
- Rep Power
- 0
JUnit issues
Hello. I've added the JUnit jar to my classpath, and it can find and run tests alright using the command window, but when I try and compile a test I know works, it can't seem to find anything to do with JUnit. I get the following error for every test class. Tested it on another computer and it works, but not on mine. Any ideas?
EstateAgentTest.java:25: incompatible types
found : Test
required: java.lang.annotation.Annotation
@Test public void rentable1() {
Thanks a lot.Last edited by Fubarable; 03-05-2011 at 11:52 AM. Reason: "urgent" removed. Question is no more important than any other question
Similar Threads
-
JUnit
By cka in forum EclipseReplies: 3Last Post: 07-27-2010, 04:14 PM -
[URGENT]SHA Encryption System...need urgent helps
By java_idiot in forum New To JavaReplies: 6Last Post: 05-02-2010, 10:04 AM -
JUnit Test??? What is it all about????? Please help!!
By nikosa in forum New To JavaReplies: 1Last Post: 08-03-2009, 05:31 PM -
Junit
By Azndaddy in forum New To JavaReplies: 6Last Post: 06-15-2008, 06:47 AM
Bookmarks