Skip to content

Commit 75f0345

Browse files
[Console] Restore scala runtime deps in dist assembly
Console service still loads Scala code at runtime; without these jars the dist package fails to start (ClassNotFoundException: scala.Product). Re-add the scala entries to known-dependencies.txt to match the packaged lib. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 470b064 commit 75f0345

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

streampark-console/streampark-console-service/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,27 @@
7373

7474
<dependencies>
7575

76+
<!--scala-->
77+
<dependency>
78+
<groupId>org.scala-lang</groupId>
79+
<artifactId>scala-library</artifactId>
80+
</dependency>
81+
82+
<dependency>
83+
<groupId>org.scala-lang</groupId>
84+
<artifactId>scala-compiler</artifactId>
85+
</dependency>
86+
87+
<dependency>
88+
<groupId>org.scala-lang</groupId>
89+
<artifactId>scala-reflect</artifactId>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>org.scala-lang.modules</groupId>
94+
<artifactId>scala-xml_${scala.binary.version}</artifactId>
95+
</dependency>
96+
7697
<dependency>
7798
<groupId>com.google.guava</groupId>
7899
<artifactId>guava</artifactId>

tools/dependencies/known-dependencies.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,10 @@ py4j-0.10.9.jar
301301
pyrolite-4.30.jar
302302
quartz-2.3.2.jar
303303
re2j-1.1.jar
304+
scala-compiler-2.12.17.jar
305+
scala-library-2.12.17.jar
304306
scala-parser-combinators_2.12-1.1.2.jar
307+
scala-reflect-2.12.17.jar
305308
scala-xml_2.12-1.3.0.jar
306309
scribejava-apis-7.1.1.jar
307310
scribejava-core-7.1.1.jar

0 commit comments

Comments
 (0)