cancel
Showing results for 
Search instead for 
Did you mean: 

error starting demo

clay_rowland
Champ in-the-making
Champ in-the-making
I am receiving the following error trying to start the demo.  has anyone encountered this or know of what i may be doing wrong?

The <sql> type doesn't support the nested "javaresource" element

i am using tomcat 6.0.26 and have tried both h2 and mysql.  below is the output of the build.

thanks.

C:\Activiti\setup>ant demo.start
Buildfile: build.xml

demo.install:
     [echo] installing demo

internal.define.jdbc.driver.libs:

build.webapps:
    [mkdir] Created dir: C:\Activiti\setup\build\webapps
     [copy] Copying 956 files to C:\Activiti\setup\build\webapps
     [copy] Copied 357 empty directories to 4 empty directories under C:\Activiti\setup\build\webapps
     [copy] Copying 50 files to C:\Activiti\setup\build\webapps\activiti-explorer.war\WEB-INF\lib
     [copy] Copying 50 files to C:\Activiti\setup\build\webapps\activiti-probe.war\WEB-INF\lib
     [copy] Copying 50 files to C:\Activiti\setup\build\webapps\activiti-cycle.war\WEB-INF\lib
     [copy] Copying 92 files to C:\Activiti\setup\build\webapps\activiti-rest.war\WEB-INF\lib

h2.install:
    [mkdir] Created dir: C:\Activiti\apps\h2
     [copy] Copying 7 files to C:\Activiti\apps\h2

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
   [launch] launching cmd 'C:\Activiti\apps\h2\h2.start.bat ' in dir 'C:\Activiti\apps\h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://x.x.x.x:9092 (others can connect)

db.create:
     [echo] creating db

internal.classpath.libs:

internal.classpath.libs:

internal.db.create.engine:

BUILD FAILED
C:\Activiti\setup\build.xml:145: The following error occurred while executing this line:
C:\Activiti\setup\build.xml:182: The following error occurred while executing this line:
C:\Activiti\setup\build.xml:192: The <sql> type doesn't support the nested "javaresource" element.

Total time: 24 seconds
2 REPLIES 2

pault
Star Contributor
Star Contributor
What version of ANT are you using ?

I think I had a similar problem and after updating to the latest ANT (1.8.1) it was OK.

I had to update various things, so it could have been something else. But I know I had to upgrade ANT to solve some issue with the demo build.

clay_rowland
Champ in-the-making
Champ in-the-making
thanks for the reply!  i had an old version of Ant installed.