Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10258

Camel-salesforce-maven-plugin generates classes with checked exception

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.17.3
    • Fix Version/s: 2.21.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When I tried to compile the generated dto classes from camel-salesforce-maven-plugin, I get the below compilation error:
      "Type mismatch: cannot convert from Class<MultiSelectPicklistSerializer> to Class<? extends JsonSerializer<?>>"

      Below is the sample code which causes this issue::

      @JsonSerialize(using = MultiSelectPicklistSerializer.class)

      Can you please help to resolve this issue.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              rajesh734 Rajesh A
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: