Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-397

Failed to to compile marshaller class

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Make sure the classpath doesn't include spaces

      Show
      Make sure the classpath doesn't include spaces

      Description

      It appears that spaces in the classpath are not properly escaped when Errai attempts to compile its static marshaller class. In the snippet below, the space seems to end the classpath and "UI" is processed as an option.

      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
      [INFO]                Generating Marshallers Bootstrapper...
      [INFO] *** FAILED TO COMPILE MARSHALLER CLASS ***
      [INFO] *** Classpath Used: /Users/<username snipped>/AccuRev/Entitlements UI Integration/src/main/resources:<remainder of classpath snipped>
      [INFO] Unrecognized option : UI
      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
      [INFO]                Generating Marshallers Bootstrapper...
      

      I should also note that running Maven in debug mode doesn't provide additional information.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cbrock Mike Brock
                Reporter:
                smoyer64 Steve Moyer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: