How to resolve junit library in jMonkeyEngine3 project - jmonkeyengine

I am new to JMonkeyEngine. I have downloaded and installed jMonkeyEngine3 SDK, and trying to make the Hello Sample Application but it always shows a dialog that says:
JUnit library has not been downloaded
I have tried using Resolve Reference Problems and using Ant Library Manager but here I am not getting any single option for the JUnit library, please tell me how can I resolve this problem, thanks in advance..

I suffered the same problem , just Right click the project -> properties -> Libraries -> Compile Tests and remove the junit libs there ...

Go to Help > Check for Latest Updates, Add junit Plugins

Related

Kotlin complains about API version not supported

I'm relatively new to Kotlin.
I did create a test project, just the Hello World for now.
Compile/Package OK, then when I try to run the main.kt :
Kotlin: API version 1.1 is no longer supported; please, use version 1.2 or greater.
Is driving me nuts.
Ok, here some info and things I did :
Ubuntu 18.04
IntelliJ Idea Ultimate 2020.3 - all plugins/libraries updated
Kotlin project created from Project --> Kotlin --> Console Application --> SDK 1.8 --> Maven (need to simulate another environment that has similar settings)
On Settings/Build/Kotlin Compiler I selected Language version 1.4
When building I have only some warnings and I did notice this one :
[WARNING] Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/home/steve/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.1/kotlin-stdlib-1.1.1.jar (version 1.1)
/home/steve/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.31/kotlin-stdlib-jdk8-1.4.31.jar (version 1.4)
/home/steve/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.4.31/kotlin-stdlib-jdk7-1.4.31.jar (version 1.4)
So it seems is still importing a stdlib 1.1.1, I did try to remove manually it but without success, is always there.
The POM only has this from jetbrains :
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.4.31</version>
</dependency>
Can anybody please give me some suggestions about how to fix this kind of problem ?
Thanks
STeve
Ok, I did restart from scratch many times trying to identify the problem and I think I did it, i.e. I identified the problem but I don't have a solution.
Starting from scratch everything is working, however I need to add to the project some classes I created in other projects in order to test them.
One of the class imported uses a library called khttp.
Well the moment I add this library as dependence in the project, even without adding any code that use it, screw up everything and I end up with the error :
Kotlin: API version 1.0 is no longer supported; please, use version 1.3 or greater.
The ONLY way I found so far to solve the problem is to remove from the POM the dependency of the library.
So I guess that the problem is IN the library.
If I can't find a solution I guess I need to don't use khttp.
Thanks
Go to
Intellij Preferences -> Build, Execution, Deployment -> Compiler -> Kotlin Compiler. Update Language version
and Api version to the one you wish.
**Click run again it should work fine.
for me it worked like this: right click on project and go to
project settings -> modules -> Kotlin
there I set the API Version to 1.5
I update the Kotlin dependencies version in pom.xml from 1.3.61 to 1.5.10 and it's ok for me
Project Structure>Modules>General
When you go there you gonna see 2 sections right side. Language version and API version. Update these 1.5 and problem will solve easily.

An internal error occurred during: "Building UI model"

i am trying to create new project in eclipse "Spring started Project" but it gives the error An internal error occurred during: "Building UI model".
com/google/common/base/Function
i am new in spring boot ..please solve the problem also shared screenshot here.
Please install "TestNG plug-in for Eclipse". It will solve the issue.
I found this problem same you. Because your Eclipse and STS version miss match. example I use Eclipse Mar(4.5.x) and download Spring version 3.8.2 this is miss match version.
I have 2 solution
Download Spring Tool suit (STS) at "https://spring.io/tools/sts/legacy"
Please check your Eclipse before download
OR
you can not download STS at "Eclipse Market Place". because eclipse search new version of STS. (is match for new vesion of Eclipse)
you can download at "Install new software". and I use this Link http://dist.springsource.com/release/TOOLS/update/e4.X/
you can insert version match for your Eclipse at "x"
I was also facing same issue. I fixed it by updating all the plugins etc. You need to click on "Check for Updates" in help and proceed further.
I have Eclipse Neon.3 Release (4.6.3). I added STS plugin through Marketplace. (See http://www.adeveloperdiary.com/java/spring-boot/create-spring-boot-application-step-step/)
After that I got the same error while creating new spring starter project.
An internal error occurred during: "Building UI model".
com/google/common/base/Function
After updating all the plugins i am able to creat a new spring starter project.
Regards,
Krishan

IntelliJ Idea doesn't place dependencies in External Libraries Folder

Currently have a hard times working on one project. While building with maven I'm getting success but when I open the project all classes are red with unresolved dependencies and folder "External Libraries" contains only JDK classes.
Does anyone know what might be the reason of this?
Thanks in advance.
I'm using Intellij Idea 14.0.2 and Maven version 3.2.5
Enable auto reload for your pom file(s). intelliji doesn't do it automatcally unless you enable it.
To do so, just open a pom file and you'll see a popup that asks you if you to enable auto relaod.

SpringSourceTools | Converting Maven legacy project error

I'm having a trouble converting a legacy Maven project.
I tried :-
Right click project --> Configure --> Covert legacy Maven projects
and it gives me an error
using m2e (1.0.2) plungin for SpringSourceTools IDE
Thanks.
Maybe the project was created with the old Eclipse M2Eclipse plugin. Look at my answer to this question to see whether it helps you.

Springsourcetoolsuite sample project throwing maven dependency issues

I am new to STS and installed the latest version yesterday. Once installed I went to New->Spring Template Project->Simple Spring Batch Project and followed the instructions like giving a project name, specifying a package name and clicked finish.
The project is showing a lot of errors. I tried updating maven dependencies and clicked almost all logical options in maven. I even see that org.springframework is not resolved. I see "Failed to read artificat descriptor errors".
Can anybody guide me here? Since this is a sample project I expected it to compile and run straight away. Am i missing something?
My STS version is 2.7.2 and maven is 4.0
Unfortunately, some of the template projects are a bit out of date. I'd recommend posting on the STS forum for a bit of help on getting them working.
http://forum.springsource.org/forumdisplay.php?32-SpringSource-Tool-Suite

Resources