Skip to content

Unable to build from current main brach. #1

@joshmc82

Description

@joshmc82

When attempting to build using build.sh, I'm getting the following errors.
I'm on macOS Tahoe 26.1
Macbook Pro M5
OpenJDK Runtime Environment Zulu17.62+17-CA (build 17.0.17+10-LTS)

This came up as I was trying to update a forked copy to be compatible with MC 4.7.
There were some package changes but I've been unable to get it to compile at all. I've been using Claude AI to help debug and tried to compile the original source and also got an error.

[ERROR] /Users/josh/Code/mirthsync-plugin-original/server/src/main/java/com/saga_it/mirthsync_plugin/server/servlet/MirthSyncServlet.java:[57,16] constructor MirthSyncInfo in class com.saga_it.mirthsync_plugin.shared.model.MirthSyncInfo cannot be applied to given types;
  required: no arguments
  found:    java.lang.String
  reason: actual and formal argument lists differ in length
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for mirthsync-plugin 0.0.3:
[INFO]
[INFO] mirthsync-plugin ................................... SUCCESS [  2.294 s]
[INFO] shared ............................................. SUCCESS [  2.367 s]
[INFO] server ............................................. FAILURE [  0.261 s]
[INFO] client ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.956 s
[INFO] Finished at: 2026-04-10T08:50:40-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project server: Compilation failure
[ERROR] /Users/josh/Code/mirthsync-plugin-original/server/src/main/java/com/saga_it/mirthsync_plugin/server/servlet/MirthSyncServlet.java:[57,16] constructor MirthSyncInfo in class com.saga_it.mirthsync_plugin.shared.model.MirthSyncInfo cannot be applied to given types;
[ERROR]   required: no arguments
[ERROR]   found:    java.lang.String
[ERROR]   reason: actual and formal argument lists differ in length

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions