0 Replies Latest reply on Jul 16, 2009 10:59 PM by liny liny

    Attribute 'continue' is not allowed to appear in element 'on

    liny liny Newbie

      Hi,

      I downloaded jBPM and use ant to demo.setup.
      After that, I can use jBPM-console, but no any example task or process.
      I notice there is a exception as below:

      [jbpm-deploy] org.jbpm.api.JbpmException:
      [jbpm-deploy] xml validation error: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'on'.
       [line=10 column=43 ]: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear
      in element 'on'.
      [jbpm-deploy] error: no start activity in process [line=3 column=57 ]
      [jbpm-deploy] at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:168)
      [jbpm-deploy] at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:141)
      [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:50)
      [jbpm-deploy] at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:55)
      [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:46)
      [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:32)
      [jbpm-deploy] at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      [jbpm-deploy] at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
      [jbpm-deploy] at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
      [jbpm-deploy] at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
      [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89)
      [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:110)
      [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:60)
      [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
      [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
      [jbpm-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      [jbpm-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
      [jbpm-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
      [jbpm-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
      [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      [jbpm-deploy] Caused by: org.jbpm.api.JbpmException
      [jbpm-deploy] at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:164)
      [jbpm-deploy] ... 28 more


      I am new to jBPM, any suggestion is welcome!
      Thanks.