Hello,
I am trying to create a custom Portal following the steps on
'JetExpress Portal Tutorial' (Jetspeed2, Maven-2). I get an error when
I run 'mvn -P tomcat,min' command though. What is the reason for this
error? The error message is as follows:
sql-execute-derby:
[java] Buildfile:
C:\JetspeedTraining\workspace\jetexpress\etc\derby-sql-build.xml
[java] forked-sql-execute-derby:
[java] [sql] Executing file:
C:\JetspeedTraining\workspace\jetexpress
\etc\target\sql\derby\schema\phase1-schema.sql
[java] [sql] Failed to execute: CREATE TABLE MEDIA_TYPE (
MEDIATYPE
_ID INTEGER NOT NULL, NAME VARCHAR(80) NOT NULL, CHARACTER_SET
VARCHAR(40), TITL
E VARCHAR(80), DESCRIPTION LONGVARCHAR, PRIMARY KEY(MEDIATYPE_ID))
[java] BUILD FAILED
[java]
C:\JetspeedTraining\workspace\jetexpress\etc\derby-sql-build.xml:6:
SQL Exception: Syntax error: Encountered "" at line 1, column 145.
[java] Total time: 1 second
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:298: The
following error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:289: The
following error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:390: Java
returned: 1
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Mon Apr 30 18:38:49 PDT 2007
[INFO] Final Memory: 15M/29M
[INFO]
------------------------------------------------------------------------
Thanks,
Valli