Impossible to use twilio sdk in sbt 1.9.8 Scala 3.3.1, Mac OS Sonoma 14.0
Issue Summary
When add maven dependency to sbt I get the error:
[Fatal Error] :1:326: The reference to entity "display" must end with the ';' delimiter.
Steps to Reproduce
- Add maven dependency to sbt
- sbt reload
- sbt compile
Full output
[info] Reapplying settings... [info] set current project to ProjectName (in build file:/Users/username/Documents/ProjectDir/) [warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Global / dumpStructure [Fatal Error] :1:326: The reference to entity "display" must end with the ';' delimiter. [error] stack trace is suppressed; run 'last update' for the full output [error] stack trace is suppressed; run 'last ssExtractDependencies' for the full output [error] (update) org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 326; The reference to entity "display" must end with the ';' delimiter. [error] (ssExtractDependencies) org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 326; The reference to entity "display" must end with the ';' delimiter. [error] Total time: 0 s, completed Mar 11, 2024, 11:45:13 AM [info] shutting down sbt server
Any recommendations appreciated
Can you give more instructions on how to reproduce?
Like build.sbt, etc.
Better if it's a git repository one can clone.
Hi. I had this exact problem happen to me yesterday as well. (Except on a different codebase). Something in my CI pipeline that hadn't changed suddenly failing for no reason. This is with an old commits in my base that used to work, and an old sbt that hadn't been upgraded. I have debugged the issue and it turned out to be the dependency check plugin, in project/plugins.sbt.
Removing it fixed the issue
addSbtPlugin("net.vonbuchholtz" % "sbt-dependency-check" % "x.x.x")
Hello! We will take a look here.
I was able to resolve this issue by using a more recent sbt build and putting -Dsbt.override.build.repos=false in my SBT_OPTS.