Tyring to get Ethernet2 lib to work

I got the following error when trying to compile using the ethernet2 library:

D:\Arduino\Dev\arduino-0017\hardware\libraries\Ethernet2\Server.cpp:75: error: 'EthernetClass' has not been declared

Any ideas what I might have done wrong?