AW: java.lang.ClassFormatError

2008-04-14 Thread Andreas Bobek
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

AW: java.lang.ClassFormatError

2008-04-14 Thread Andreas Bobek
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.