2 Replies Latest reply on Feb 5, 2004 7:50 PM by sesques

    autoincrement must be declared !?

    petrus

      Xdoclet generates the jbosscmp-jdbc.xml file. When I run jboss, I had an exception of bad xml file format, with the following information :


      error :
      2004-01-23 17:52:11,310 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: File jar:file:/C:/dev/jboss-3.2.2/server/biblio/tmp/deploy/tmp20342biblio.jar!/META-INF/jbosscmp-jdbc.xml process error. Line: 29. Error message: Element type "auto-increment" must be declared.
      2004-01-23 17:52:11,310 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: File jar:file:/C:/dev/jboss-3.2.2/server/biblio/tmp/deploy/tmp20342biblio.jar!/META-INF/jbosscmp-jdbc.xml process error. Line: 30. Error message: The content of element type "cmp-field" must match "(field-name,read-only?,read-time-out?,column-name?,not-null?,((jdbc-type,sql-type)|property+)?)".
      2


      what is the problem ? I work on jboss 3.2.2, xdoclet 1b2.
      thanks
      P.