[jboss-user] [JBoss jBPM] - Generation of jBPM-DB scripts & MockConnection error

fahlen do-not-reply at jboss.com
Mon Jan 29 05:35:54 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007712#4007712

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007712



More information about the jboss-user mailing list