Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5962

method ConverterUtil.compare(int,String) is not applicable ...

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.8
    • Fix Version/s: None
    • Component/s: databinding
    • Labels:
      None

      Description

      compile.src:
          [javac] ~/project/build.xml:43: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
          [javac] Compiling 128 source files to ~/project/build/classes
          [javac] ~/project/src/ch/ech/www/xmlns/ech_0010/_4/PostOfficeBoxNumberType.java:39: error: no suitable method found for compare(UnsignedInt,String)
          [javac]         if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param,
          [javac]                                                             ^
          [javac]     method ConverterUtil.compare(int,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to int)
          [javac]     method ConverterUtil.compare(double,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to double)
          [javac]     method ConverterUtil.compare(float,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to float)
          [javac]     method ConverterUtil.compare(long,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to long)
          [javac]     method ConverterUtil.compare(short,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to short)
          [javac]     method ConverterUtil.compare(byte,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to byte)
          [javac]     method ConverterUtil.compare(BigInteger,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to BigInteger)
          [javac]     method ConverterUtil.compare(BigDecimal,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to BigDecimal)
          [javac]     method ConverterUtil.compare(Duration,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to Duration)
          [javac]     method ConverterUtil.compare(Date,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to Date)
          [javac]     method ConverterUtil.compare(Time,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to Time)
          [javac]     method ConverterUtil.compare(Calendar,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to Calendar)
          [javac]     method ConverterUtil.compare(UnsignedLong,String) is not applicable
          [javac]       (argument mismatch; UnsignedInt cannot be converted to UnsignedLong)
          [javac] /opt/hauser/cvs/wsSrvSideIntegrationTrunk/jusphere/src/ch/ech/www/xmlns/ech_0010/_4/SwissZipCodeType.java:39: error: no suitable method found for compare(UnsignedInt,String)

       

      see also AXIS2-5468

        Attachments

        1. eCH-0010-4-0.xsd
          8 kB
          Ralf Hauser

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hauser@acm.org Ralf Hauser
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: