Using Scala IDE with MacOS - java

I'm new in Scala and I'm following a course on Linkedin Learning. I'm trying to configure Eclipse to work with the Scala IDE or to use the standalone Scala IDE based on Eclipse Oxygen.
I'm using MacOS Big Sur 11.1 and I know that there is some issue with that.
The problem is that I can use the standalone Scala IDE that I download from http://scala-ide.org/ because, when I run it, I have these errors when I try to import a project:
ScalaIDEerror1 ScalaIDEerror2
Also, if I download Eclipse plugin for Scala (with Eclipse 2021-03(4.19.0)) I got the following errors.
EclipseError1 EclipseError2
I've tried to google about it but I couldn't find anything.
Thanks to anyone who can help.

Related

Why I can not Install and use TestNG with Eclipse?

I'm somewhat new to using Selenium, I'm working with version 2022 of Eclipse IDE for Java Developers, I try a lower version to be able to work with TestNg dependencies, but when using both the Marketplace version and the dependencies, It can't install and it doesn't give an error message or anything like that.
Any particular idea what is going on?
I have used Marketplace, depenedencies and it still is not posible

How to fix org.sonar.wsclient.connectors.connectionexception

I installed kepler plugin in netbeans 8.0. And I tried to use sonar-runner using java application. I get a error "Error executing sonar-runner".
Please help me with this. I really need to try this on java and java web applications.
I tried sonarqube in eclipse same java project I used here. It is working perfectly..

Issues with Eclipse setup on Ubuntu 12.04

I am facing setup issues in my eclipse Kepler on Ubuntu 12.04 on Virtual box.
Firstly i was facing issue same as:
Eclipse Open declaration in Java project
I tried everything mentioned here, but nothing seems to be working for me...
Then I explored some more, and get another error message similar to:
I am getting resource not on the buildpath of the project
As per its 1st answer, 2nd point go to "Java Build Path", I tried going there, but i cannot find any "Java Build Path" section in my project property.
When I click on Project properties, it shows only options given in the following screenshot:
I know this is some easy setup issue, but i am unable to handle it.
The answer is a write-up of the discussion in the comments:
If you are on Ubuntu 12.04 and install Eclipse you could end up with a bare-bones install without the Java Development Tools (JDT).
After installing the package manually via Help -> Install New Software and then searching for Programming Languages / Eclipse Java Development Tools Java development should work.
For maven projects you should use the import Existing Maven Projects instead of importing it as a java project.

Problems installing Play framework on OSX

I am trying to install the Play! framework onto my OSX Mavericks laptop. Everything installs and works fine using the default install paths until I try to convert a new application to an eclipse project. I can convert Scala projects just fine. But when I try to convert a Java application to an eclipse project I get the following error from the Play! console:
[TestAppOne] $ eclipse
[info] About to create Eclipse project files for your project(s).
[info] Compiling 2 Scala sources and 1 Java source to /Users/mcd/play/TestAppOne/target/scala-2.10/classes...
[error] could not find scala-library.jar
[error] Use 'last' for the full log.
I can see the scala-library.jar (2.10.3) and I even added it to /etc/paths; no luck. I am using Java 1.7 and Kepler eclipse and Play 2.2.2-RC3. Any suggestions to help convert the Play! project to eclipse?
try to remove everything redundant from path, leave only java and play home (http://www.playframework.com/documentation/2.0/Installing) there and "replay" your project
Is there any particular reason that you are using RC instead of stable release?
Play 2.2.2-RC3 has reported issue about this problem 3 days ago, check on Github or similar question posted few hours ago on the StackOverflow
(FYI, just tested: sample Play 2.2.1 project eclipsied on Mavericks without any problem, unfortunately I have no Eclipse installed, but assume, that there should not be any problems to open it there, Idea works like a charm)

Play2 with eclipse

I am now very far in my project ~around 60 different views and I all wrote them without IDE support.
Now I really want to use the scala IDE in eclipse
I tried it with eclipse helios indigo and juno with the same result
I followed this tutorial http://scala-ide.org/docs/tutorials/play20scalaide20/index.html
Now I think that there is a small mistake in this tutorial
He chose the mainfolder but I think the src_managed folder is the correct one. However I tried both without any success.
My eclipse looks like this
I tried play clean and play compile play run and play ~run.
I just want to have scala support in .scala.html is this currently possible?
If yes is there a solution where I can format my .scala.html file?

Categories

Resources