View Single Post
  #1 (permalink)  
Old 05-17-2008, 12:42 AM
new_2_java new_2_java is offline
Member
 
Join Date: Feb 2008
Posts: 45
new_2_java is on a distinguished road
The type Class is not generic; it cannot be parameterized with arguments <T>
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


Code:
DFS\RemoteClient\TestClient.java
DFS is the project in Eclipse


and this is how it looks my java class

Code:
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

This is the error:

Code:
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.
Reply With Quote
Sponsored Links