Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6533

Compiling errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework
    • None

    Description

      classes:
      [javac17] Compiling 144 source files to D:\ofbiz-clean\framework\entity\build\classes
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
      [javac17] public int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException {
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:426: error: method getEntityNamesByGroup in class ModelGroupReader cannot be applied to given types;
      [javac17] Set<String> entityNameSet = getModelGroupReader().getEntityNamesByGroup(groupName);
      [javac17] ^
      [javac17] required: String,String
      [javac17] found: String
      [javac17] reason: actual and formal argument lists differ in length
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
      [javac17] delegator.storeAll(valuesToWrite, doCacheClear, createDummyFks);
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated
      [javac17] Configuration config = new Configuration();
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated
      [javac17] delegator.removeAll(valuesToDelete, doCacheClear);
      [javac17] ^
      [javac17] Note: Some input files use unchecked or unsafe operations.
      [javac17] Note: Recompile with -Xlint:unchecked for details.
      [javac17] 1 error
      [javac17] 4 warnings

      BUILD FAILED
      D:\ofbiz-clean\build.xml:421: The following error occurred while executing this line:
      D:\ofbiz-clean\build.xml:438: The following error occurred while executing this line:
      D:\ofbiz-clean\macros.xml:39: The following error occurred while executing this line:
      D:\ofbiz-clean\common.xml:91: Compile failed; see the compiler error output for details.

      Attachments

        Activity

          People

            nmalin Nicolas Malin
            tzngvi Wei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: