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

camel-jbang - Run from clipboard does not work for java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.17.0
    • 3.18.0
    • camel-jbang
    • None
    • Unknown

    Description

      2022-05-23 20:21:39.543 INFO 29065 — [ main] org.apache.camel.main.DownloaderHelper : Downloaded: org.apache.camel:camel-java-joor-dsl:3.18.0-SNAPSHOT (took: 1s414ms)
      org.joor.ReflectException: Compilation error: /generated-clipboard.java:4: error: class Hey is public, should be declared in a file named Hey.java
      public class Hey extends org.apache.camel.builder.RouteBuilder {
      ^
      1 error

      at org.apache.camel.dsl.java.joor.MultiCompile.compileUnit(MultiCompile.java:130)

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: