Error Running Compiere261 from Eclipse

2007-06-04
2013-05-02
  • Emerson Ricardo Rodrigues

    Hi...

    I donwloaded Compiere261 source from SVN and tried to run from Eclipse, but I got these errors:

    Name clash: The method setTypeMap(Map<String,Class<?>>) of type BaseRowSet has the same erasure as setTypeMap(Map) of type RowSet but does not override it
    CCachedRowSet.java
    Compiere261/dbPort/src/org/compiere/util
    line 32

    Name clash: The method setTypeMap(Map<String,Class<?>>) of type BaseRowSet has the same erasure as setTypeMap(Map) of type RowSet but does not override it
    CachedRowSetImpl.java
    Compiere261/dbPort/src/org/compiere/util
    line 35

    The type CachedRowSetImpl must implement the inherited abstract method RowSet.setTypeMap(Map)
    CachedRowSetImpl.java
    Compiere261/dbPort/src/org/compiere/util
    line 35

    Can anyone tell me how to fix these errors?

     
    • Enrique Ruibal

      Enrique Ruibal - 2007-06-04

      Hi,

      You have to check/modify the classpath file, these are my current settings with version 2.61 and they work fine in my laptop,

      <?xml version="1.0" encoding="UTF-8"?>
      <classpath>
          <classpathentry kind="src" path="base/src"/>
          <classpathentry kind="src" path="dbPort/src"/>
          <classpathentry kind="src" path="client/Src"/>
          <classpathentry kind="src" path="extend/src"/>
          <classpathentry kind="src" path="install/src"/>
          <classpathentry kind="src" path="interfaces/src"/>
          <classpathentry kind="src" path="looks/src"/>
          <classpathentry kind="src" path="print/src"/>
          <classpathentry kind="src" path="serverRoot/src/main/ejb"/>
          <classpathentry kind="src" path="serverRoot/src/main/server"/>
          <classpathentry kind="src" path="serverRoot/src/main/servlet"/>
          <classpathentry kind="src" path="serverApps/src/main/servlet"/>
          <classpathentry kind="src" path="serverApps/src/applicationUI/classes"/>
          <classpathentry kind="src" path="sqlj/src"/>
          <classpathentry kind="src" path="tools/Src"/>
          <classpathentry kind="src" path="webCM/src/main/servlet"/>
          <classpathentry kind="src" path="webStore/src"/>
          <classpathentry kind="lib" path="lib/compiereRoot.jar"/>
          <classpathentry kind="lib" path="data/seed/Compiere.jar"/>
          <classpathentry kind="lib" path="jboss/server/compiere/lib/jboss.jar"/>
          <classpathentry kind="lib" path="lib/jPDF.jar"/>
          <classpathentry kind="lib" path="tools/lib/activation.jar"/>
          <classpathentry kind="lib" path="tools/lib/ant.jar"/>
          <classpathentry kind="lib" path="tools/lib/ant-commons-net.jar"/>
          <classpathentry kind="lib" path="tools/lib/ant-launcher.jar"/>
          <classpathentry kind="lib" path="tools/lib/db2java.zip"/>
          <classpathentry kind="lib" path="tools/lib/j2ee.jar"/>
          <classpathentry kind="lib" path="tools/lib/jconn3.jar"/>
          <classpathentry kind="lib" path="tools/lib/jstl.jar"/>
          <classpathentry kind="lib" path="tools/lib/jtds-1.0.jar"/>
          <classpathentry kind="lib" path="tools/lib/junit.jar"/>
          <classpathentry kind="lib" path="tools/lib/log4j.jar"/>
          <classpathentry kind="lib" path="tools/lib/mail.jar"/>
          <classpathentry kind="lib" path="tools/lib/ocrs12.jar"/>
          <classpathentry kind="lib" path="tools/lib/ojdbc14.jar"/>
          <classpathentry kind="lib" path="tools/lib/standard.jar"/>
          <classpathentry kind="lib" path="tools/lib/Verisign.jar"/>
          <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
          <classpathentry kind="lib" path="jboss/server/compiere/lib/jmx-adaptor-plugin.jar"/>
          <classpathentry kind="lib" path="jboss/server/compiere/lib/jnpserver.jar"/>
          <classpathentry kind="lib" path="jboss/lib/commons-httpclient.jar"/>
          <classpathentry kind="lib" path="jboss/lib/commons-logging.jar"/>
          <classpathentry kind="lib" path="jboss/lib/concurrent.jar"/>
          <classpathentry kind="lib" path="jboss/lib/getopt.jar"/>
          <classpathentry kind="lib" path="jboss/lib/gnu-regexp.jar"/>
          <classpathentry kind="lib" path="jboss/lib/jboss-common.jar"/>
          <classpathentry kind="lib" path="jboss/lib/jboss-jmx.jar"/>
          <classpathentry kind="lib" path="jboss/lib/jboss-system.jar"/>
          <classpathentry kind="lib" path="jboss/lib/log4j-boot.jar"/>
          <classpathentry kind="lib" path="jboss/lib/webdavlib.jar"/>
          <classpathentry kind="lib" path="lib/CCTools.jar"/>
          <classpathentry kind="lib" path="lib/Compiere.jar"/>
          <classpathentry kind="lib" path="lib/compiereApps.jar"/>
          <classpathentry kind="lib" path="lib/CSTools.jar"/>
          <classpathentry kind="lib" path="lib/db2.jar"/>
          <classpathentry kind="lib" path="lib/ibmWAS.jar"/>
          <classpathentry kind="lib" path="lib/jboss.jar"/>
          <classpathentry kind="lib" path="lib/oracle.jar"/>
          <classpathentry kind="lib" path="lib/postgreSQL.jar"/>
          <classpathentry kind="lib" path="lib/sqlServer.jar"/>
          <classpathentry kind="lib" path="tools/lib/bsh-1.3.0.jar"/>
          <classpathentry kind="lib" path="tools/lib/commons-collections-3.1.jar"/>
          <classpathentry kind="lib" path="tools/lib/commons-logging.jar"/>
          <classpathentry kind="lib" path="tools/lib/commons-net-1.4.0.jar"/>
          <classpathentry kind="lib" path="tools/lib/jpayment.jar"/>
          <classpathentry kind="lib" path="tools/lib/jsp-api.jar"/>
          <classpathentry kind="lib" path="tools/lib/servlet-api.jar"/>
          <classpathentry kind="lib" path="tools/lib/xdoclet-1.2.3.jar"/>
          <classpathentry kind="lib" path="tools/lib/xdoclet-ejb-module-1.2.3.jar"/>
          <classpathentry kind="lib" path="tools/lib/xdoclet-web-module-1.2.3.jar"/>
          <classpathentry kind="lib" path="tools/lib/xdoclet-xdoclet-module-1.2.3.jar"/>
          <classpathentry kind="lib" path="tools/lib/xjavadoc-1.1.jar"/>
          <classpathentry kind="lib" path="serverApps/src/applicationUI/WEB-INF/lib/myfaces-api-1.1.3.jar"/>
          <classpathentry kind="lib" path="serverApps/src/applicationUI/WEB-INF/lib/myfaces-impl-1.1.3.jar"/>
          <classpathentry kind="lib" path="serverApps/src/applicationUI/WEB-INF/lib/tomahawk-1.1.3.jar"/>
          <classpathentry kind="output" path="bin"/>
      </classpath>

      Please review these settings and let us know.

      Regards,

      Enrique R.

       
    • Emerson Ricardo Rodrigues

      Now it works, Enrique...

      Thank you!

       
    • jason

      jason - 2007-08-15

      hello,I have a problem about compiere to run eclipse,but I don't know how to deploy it .I want someone can help me .thanks!

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks