1 Reply Latest reply on Jan 29, 2007 7:05 AM by fahlen

    Generation of jBPM-DB scripts & MockConnection error

    fahlen

      Hi,

      I was hoping someone could help me. I execute the ant script provided with jBPM-DB to generate the MySQL scripts needed to create the jBPM tables. However, I get this error:

      C:\jbpm-starters-kit-3.1.3\jbpm-db>ant mysql.scripts
      Buildfile: build.xml
      
      mysql.scripts:
      
      prepare:
      
      compile.jbpm:
       [mkdir] Created dir: C:\jbpm-3.1.3\build\classes.jbpm
       [javac] Compiling 337 source files to C:\jbpm-3.1.3\build\classes.jbpm
       [javac] Note: Some input files use or override a deprecated API.
       [javac] Note: Recompile with -Xlint:deprecation for details.
       [copy] Copying 138 files to C:\jbpm-3.1.3\build\classes.jbpm
      
      compile.identity:
       [mkdir] Created dir: C:\jbpm-3.1.3\build\classes.identity
       [javac] Compiling 20 source files to C:\jbpm-3.1.3\build\classes.identity
       [javac] Note: Some input files use or override a deprecated API.
       [javac] Note: Recompile with -Xlint:deprecation for details.
       [copy] Copying 9 files to C:\jbpm-3.1.3\build\classes.identity
      
      compile.jbpm.test:
       [mkdir] Created dir: C:\jbpm-3.1.3\build\classes.jbpm.test
       [javac] Compiling 259 source files to C:\jbpm-3.1.3\build\classes.jbpm.test
       [javac] C:\jbpm-3.1.3\src\java.jbpm.test\org\jbpm\persistence\db\MockConnect
      ion.java:13: org.jbpm.persistence.db.MockConnection is not abstract and does not
       override abstract method createStruct(java.lang.String,java.lang.Object[]) in j
      ava.sql.Connection
       [javac] public class MockConnection implements Connection {
       [javac] ^
       [javac] Note: Some input files use or override a deprecated API.
       [javac] Note: Recompile with -Xlint:deprecation for details.
       [javac] 1 error
      
      BUILD FAILED
      


      I have followed the instructions up to number 7 (where this error occurs) in the jbpm-starters-kit-3.1.3/jbpm-db/readme.html file.

      I'd really appreciate it if someone could point out what might be the problem.

      Thanks in advance,
      Markus