Ok I finally found the mistake I made. It has neither something to do with
Cayenne nor with Tomcat nor whatever. When building my project I use Ant and
I had a build file with a copy statement and a filter token expression which
was also applied to the binary class files...
http://ant.apache.org/m
I really don't get it, here is how I can reproduce this error:
Shop => Servlet
_Basket => Superclass
Basket => Subclass
Basket has no additional declarations.
Shop creates a new Basket (within doGet...):
Basket basket = (Basket)
DataContext.createDataContext().createAndRegisterNewObject(Basket.