Hi all,
I have set up a project in Eclipse 3.1 and am using java 5.0 compiler.
Here's my folder structure in Eclipse
DFS\RemoteClient\TestClient.java
DFS is the project in Eclipse
and this is how it looks my java class
package RemoteClient;
import java.util.*;
// other imports
public class TestClient {
public static void main(String [] args) throws ServiceInvocationException {
// business logic here ....
}
}
So, basically, my java class is just a simple class with a main function.
Now when I build my project, using Project->Clean...
Then I get this as an error at the very first line where i specify the package
package RemoteClient;
This is the error:
The type Class is not generic; it cannot be parameterized with arguments <T>
Can someone please comment on this, as what's this error and why am I getting this.
Thanks.