Menu

Deploying error on Fedora

Anonymous
2012-10-12
2012-11-26
  • Anonymous

    Anonymous - 2012-10-12

    When i was deploying   "libreplan_1.2.4.war" in Tomcat server. At that time it Makes some error. the error is follwoing. please give me to solution to recover this one……   Thank you

    <b>INFO    org.hibernate.tool.hbm2ddl.SchemaValidator  - fetching database metadata
    ERROR   org.hibernate.tool.hbm2ddl.SchemaValidator  - could not get database metadata
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'libreplan.pg_class' doesn't exist
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    at com.mysql.jdbc.Util.getInstance(Util.java:386)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlI )</b>

     
  • Manuel Rego Casasnovas

    It seems that you're using the .war for PostgreSQL as it's looking for a table called pg_class. If you're trying to install LibrePlan using MySQL you should use the .war files with _mysql in the name. For example libreplan_mysql_1.3.0.war.

    You can download these files from: https://sourceforge.net/projects/libreplan/files/LibrePlan/

    Or you can compile LibrePlan and generate your own .war for MySQL following the instructions at HACKING file.

     

Log in to post a comment.