aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes JUnit 4 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "JUnit 4 error" Watch "JUnit 4 error" New topic
Author

JUnit 4 error

Nidhi Singhal
Ranch Hand

Joined: Sep 19, 2004
Posts: 89

I get the following error when I run a test class using JUnit 4

Error: javac: invalid flag: path of the test class

I have included junit 4 jar in the class library and jdk in the classpath


thanks

nidhi
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Are you sure you get this error when you *run* the test? It looks like a compile time error to me...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JUnit 4 error