Results 1 to 1 of 1

Thread: JUnit issues

  1. #1
    aca10mpr is offline Member
    Join Date
    Mar 2011
    Rep Power

    Default 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? incompatible types
    found : Test
    required: java.lang.annotation.Annotation
    @Test public void rentable1() {
    Thanks a lot.
    Last edited by Fubarable; 03-05-2011 at 12:52 PM. Reason: "urgent" removed. Question is no more important than any other question

Similar Threads

  1. JUnit
    By cka in forum Eclipse
    Replies: 3
    Last Post: 07-27-2010, 04:14 PM
  2. [URGENT]SHA Encryption System...need urgent helps
    By java_idiot in forum New To Java
    Replies: 6
    Last Post: 05-02-2010, 10:04 AM
  3. Replies: 1
    Last Post: 08-03-2009, 05:31 PM
  4. Junit
    By Azndaddy in forum New To Java
    Replies: 6
    Last Post: 06-15-2008, 06:47 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts