Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Version Conflict Error while Running Compiere

nparmar
2009-07-30
2013-05-02
  • nparmar
    nparmar
    2009-07-30

    Hi,
    I download source code of Compiere from svn.compiere.org/core/trunk...
    & import it in eclips but when i run the source code i get the Error
    Version Conflict
    Server <> Client
    2008-10-20 <> 2008-10-07
    please download  new version from server

     
    • Go to ad.src.org.compiere, open Compiere.java file and change

      /** Detail Version as date      Used for Client/Server        */
          static public final String    DATE_VERSION    = "2008-10-20";
      /** Database Version as date    Compared with AD_System        */
          static public final String    DB_VERSION        = "2008-10-20";

      It should be ok.

       
    • nparmar
      nparmar
      2009-07-30

      Thanks Asif Iqbal Syed  for the reply...

      but i m still getting error... Error is

      -----------> SysEnv.saveError: Error - Compiere requires a license from Compiere, Inc. Please contact Compiere, Inc. or a Compiere Authorized Partner about acquiring a license.
      Exception in thread "main" java.lang.Error: Unresolved compilation problem:

          at org.compiere.util.CCachedRowSet.getRowSet(CCachedRowSet.java:148)
          at org.compiere.util.CPreparedStatement.local_getRowSet(CPreparedStatement.java:950)
          at org.compiere.util.DB.getRowSet(DB.java:1146)
          at org.compiere.model.MTree.getNodeDetails(MTree.java:673)
          at org.compiere.model.MTree.loadNodes(MTree.java:455)
          at org.compiere.model.MTree.<init>(MTree.java:408)
          at org.compiere.model.MTree.<init>(MTree.java:416)
          at org.compiere.grid.tree.VTreePanel.initTree(VTreePanel.java:110)
          at org.compiere.apps.AMenu.<init>(AMenu.java:107)
          at org.compiere.apps.AMenu.main(AMenu.java:713)

       
      • This is because of your java version in eclipse.

        In eclipse go to Window->Preference->java->compiler and make sure compliance level is 6 and also check Installed JRE must be version 6.
        After you choose this , refresh compiere project and then build again.

        Good luck:-)

         
      • Parag Patil
        Parag Patil
        2009-07-30

        This is either because you are running higher version of application using lower version database or vice versa. Most of the time former case causes such errors.

        Regards
        Parag Patil

         
    • nparmar
      nparmar
      2009-07-31

      Thanks all for replying....
      yes, i install version 3.3 in my PC... but using Source Code of  Version 3.2....
      i dont knw where is Dump file of DB in Version 3.2....

       
    • Felipe Reyes
      Felipe Reyes
      2009-08-03

      You shouldn't different versions of code and database.
      Compiere doesn't use dump files to create the database objects. Please see the installation guide for details.
      http://www.compiere.com/support/installation.php