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
Appearantly I didn't pay close enought attention to the README... I compiled using JDK 6 instead of 1.4.2. Second time around, things worked well.