It seems that your problem is with the jboss version, not the ejsbspec or the cmp-version which are correct.
Look at your jboss version.
Hope this helps you
I don't think it's correct that the jboss version is the problem-- at least not when I get this xdoclet exception. I'm using jboss 3.2.3, which supports CMP 2. I posted more details of my problem here:
But it is the problem.
Look down in your xdoclet-build.xml, you should find
<jboss Version="2.4" destDir=<what you want> >
<jboss Version="3.0" destDir=<what you want> >
because you are using jboss 3.2.3
Ok, Thanks! In JBoss IDE I needed to set the version field in the JBoss doclet under the "Standard EJB" xdoclet. The correct version number, as you say, then goes into the generated xdoclet-build.xml. Without that, I was just getting the default with no version attribute. Thanks again,