Uploaded image for project: 'OpenMRS SDK'
  1. OpenMRS SDK
  2. SDK-135

Failure on specifying port with run

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Must
    • Resolution: Fixed
    • 3.1.1
    • 3.1.2
    • None
    • None

    Description

      The mvn openmrs-sdk:run -Dport=8080 command fails with:

      Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
      	at org.apache.maven.shared.invoker.MavenCommandLineBuilder.setProperties(MavenCommandLineBuilder.java:277)
      	at org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:99)
      	at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.java:101)
      	at org.openmrs.maven.plugins.Run.runInFork(Run.java:182)
      	at org.openmrs.maven.plugins.Run.executeTask(Run.java:102)
      	at org.openmrs.maven.plugins.AbstractTask.execute(AbstractTask.java:174)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      	... 21 more
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              raff Rafal Korytkowski
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: