autoscan

Eclipselink entity class autoscan finds non-entities

I've activated the auto-detect mode of Eclipselink 2.0 to find @Entity annotated classes: <exclude-unlisted-classes>false</exclude-unlisted-classes> But Eclipselink tells me that I should add an ID to my Entity: Caused by: Exception [EclipseLink-7161] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence...