|Re: [ditto-dev] Scala compiler issue with Intellij IDEA|
Hi ThomasThank you!Then our setup is the same. I have Scala 2.13 in the Global libraries. It is stranger because I've tested this in Ubuntu 21 and Windows 10 and the result was the same. The ditto-rql-parser shows the error inside IDEA.I'll try a fresh install in a virtual machine and see how it goes.I'm using OpenJDK 11 and Scala 2.13. My JDK is installed using coursier, but I don't think that should be an issue. Also the environment variables are all set.I'll let you know if I make any progress.Regards,Domício‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Em segunda-feira, 3 de janeiro de 2022 às 08:02, Jaeckle Thomas (IOC/PAP-DDM-TH) <Thomas.Jaeckle@xxxxxxxx> escreveu:
Happy new year to you as well, thanks for the wishes 😊
I use Scala 2.13.3 – you have to use Scala 2.13, with Scala 3 we did not yet test the build.
In IntelliJ IDEA the “Project Structure” must have the Scala SDK in “Global Libraries” – there is also a built-in functionality to download a Scala SDK from IntelliJ.
I hope that fixes your IDE issues.
Mit freundlichen Grüßen / Best regards
Bosch IoT Suite - Things (IOC/PAP-DDM-TH)
Bosch.IO GmbH | Ziegelei 7 | 88090 Immenstaad | GERMANY | www.bosch.io
Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Stefan Koss; Geschäftsführung: Dr. Andreas Nauerz, Yvonne Reckling
First of all happy new year!!! I hope you are well.
I am experiencing a problem in the [ditto-rql-parser] project. The class RqlPredicateParser.java depends on RqlPredicateParser.scala, but apparently the .java class can´t see the scala package: org.eclipse.ditto.rql.parser.internal.
I have tried updating the Scala plugin in Intellij IDEA, but that didn´t work.
I have also tried to change the Scala compiler configuration to Scala then Java, Mixed and Java then Scala, but also no help.
What is the Scala compiler are you using (version or plugin)? I know the Java version is 11.
One side note: everything works fine when I build the project using the command line using maven, the issue is inside the IDE only.
Thank you in advance for any help on how to build the project.
Back to the top