Closed psacchitella closed 1 year ago
Sorry I put this in the wrong repo, I appreciate the support. I just noticed that the push command works fine is I choose the workspace.json file instead of the workspace.dsl file. This is still an issue for us as tracking changes in Github for the workspace.dsl file is difficult and requires manual merging each time. Cheers, Phil
Googling Unsupported class file major version 64
should provide some hints ... it sounds like your CLI is using an incompatible version of the Java runtime.
Okay I will try changing the runtime and see where it goes. Thank you. It woks fine on the other commands and if there isn't a filtered view though. I will get back to you today.
So the issue is running the CLI tools on my mac. I am sure it is the Run time as you said. I was able to make it work using the CLI docker container.
Description
I updated to the on-prem instance version 3080. Now the !script throws the attached error when using this command.
structurizr-cli push -url http://localhost:9393/api -id 2 -key 52310afd-b834-4d87-9dab-0f249c2869f2 -secret 5af59181-53bb-4fa5-8977-01720c5d01e8 -w workspace.dsl
This error does not occur when running the structurizr-lite image directly reading from the
workspace.dsl
file.Steps to reproduce
workspace.views.views.each { it.enableAutomaticLayout(com.structurizr.view.AutomaticLayout.RankDirection.TopBottom, 300, 300, 400, false) }
in the views.dsl page.structurizr-cli push -url http://localhost:9393/api -id 2 -key 52310afd-b834-4d87-9dab-0f249c2869f2 -secret 5af59181-53bb-4fa5-8977-01720c5d01e8 -w workspace.dsl
Screenshot
No response
Code sample
Configuration
Structurizr on-prem build 3080 or Structurizr on-prem build 3068 structurizr-cli 1.30.0
Severity
Critical
Priority
High
Resolution
I have no budget, please fix this for free
More information
No response