Category "eclipse"

The import org.mockito.Mock cannot be found

I am experiencing a problem I hope you can help with. I want to use Mockito in my Spring Boot w/Gradle project, but STS cannot resolve the dependancy. I have

How to set up java 10 in Eclipse Oxygen?

I am not sure if latest version of eclipse i.e. Oxygen supports java 10 or not. I configured the JRE for java 10 from preferences on my mac machine. Also, I

Debugging java swing application in eclipse

I have a large application made in java swing. Its a children drawing app. I need to put some restrictions, for example, if they draw a rectangle, then they can

PyDev not working in Eclipse

I recently had to reset my PC and I get this error after relaunching Eclipse: No editor descriptor for id org.python.pydev.editor.PythonEditor I tried se

How to close a webview app if no activity within 5 minutes?

I am asking this after long searches without help. I created a simple webview app with eclipse. (Sometimes – app opens a web browser depending on the ur

How to use Different Java versions eclipse in Linux mint?

I have many Java versions installed on my laptop. $ sudo update-alternatives --config java [sudo] password for naruto: There are 3 choices for the alternative

resolution will not be reattempted until the update interval of mymaven has elapsed or updates are forced

I have this error: [ERROR] Failed to execute goal on project com.my.cms: Could not resolve dependencies for project com.my.cms.jar:jar:0.0.1-SNAPSHOT: Failed

"The POM for ... is missing, no dependency information available" even though it exists in Maven Repository

Problem: A dependency will not download even though I copied it from the Maven Repository. When I hover over the dependency in Eclipse, it warns: "Maven Missi

Creating directories in Java

enter image description hereI'm very new to the Java world so please forgive my ignorance. What is the optimal way to create 1000 New directories in Java? kn

Artifact has not been packaged yet

I am letting Maven copy some dependency files into a specific location for a GWT project. The maven-dependency-plugin does the job and so far it works. The only

Running C++ in Eclipse on MacOS

I am using Eclipse IDE for C/C++ Developer on Mac OS Sierra 10.12.6. When I build a project (HelloWorld Project) I see a message: "xcrun: error: invalid activ

Gradle for STS Eclipse Neon

Need to install buildship or Gradle IDE 3.8.4.201703310540-RELEASE on STS based on eclipse Neon? STS Info: Spring Tool Suite Version: 3.8.4.RELEASE Bu

Unable to use tekstac eclipse plugin

I'm trying to use the tekstac Eclipse Plugin (https://cognizant.tekstac.com/pluginfile.php/74079/block_html/content/tekstac-eclipse-plugin-2.6.9.6.zip) for conn

How to export to a runnable jar with Proccessing (Eclipse)

I have tried to export my processing applet to a runnable jar file from eclipse (which I am using to code it) and it exports successfully but when opened just c

CellType cannot be resolved to a variable setCellType error Apache POI - Java

I was reading the Apache poi guide: https://poi.apache.org/spreadsheet/quick-guide.html And I decided to follow along and type the code into my Eclipse project

How to store H2 database file into project directory

When I used H2 database the database files are stored at C:\Users\MyName\TestDataBase.db directory. The H2 path is jdbc:h2:~/TestDataBase. This is default H2 da

args4J doesn't work with gradle

I'm totally new to gradle so it may be a obvious problem: I'm using eclipse with gradle and I actually have no problem adding dependencies for junit or stuff,

Explaining "g++ not found in PATH" for an idiot

So, I just installed Eclipse for C/C++ and whenever I make a new project, I get two errors saying that the programs g++ and gcc are not in my PATH. All of the a

Eclipse BIRT not working properly on new mac

I recently started using the new macbook air (M1 chip Big Sur 11.2.3) and I can't get eclipse BIRT to open properly on it. At first my workspaces were blank and

Eclipse TestNG java.lang.AssertionError

My code works, TestNG works, I got results as expected, but this error appears at the end of TestNG results: Error code: java.lang.AssertionError: Couldn't fin