Questions tagged [eclipse]

Eclipse is an open source IDE and platform for building applications. There is a wide variety of plugins for various programming languages and other development-oriented tools (such as modeling, database browsing, etc.). This tag should only be used for questions specifically about the Eclipse IDE or platform, not for generalized (Java, Android, etc.) programming topics.

0
votes
0answers
20 views

Java - execute a .jarfile on a Linux server

I have a java application with the content " executing a shell script" . I implemented a process builder to load a script (the script is located on my Linux server). But I think there is something ...
-2
votes
0answers
23 views

Can't upload a project in Gitlab

I'm new in Gitlab. I'm trying to upload an existing project in java (IDE eclipse oxygen) to my Gitlab project to be able to share with other people, but it only let me upload independent files and not ...
0
votes
0answers
5 views

How to contribute e4 part to Window > Show View > Other under Eclipse 4.4 (Luna)

I am struggling with contributing an e4 part (aka view) to the list of views accessible via Window > Show View > Other. Regardless of how I define my part descriptor in the fragment.e4xmi, the view ...
0
votes
0answers
7 views

Deployment failed when deploying application from eclipse jboss server

I am trying to deploy an ear file in Jboss server configured to eclipse, but when i try to deploy it always ends up in time out exception. I tried to increase my server time out but it doesn't seems ...
0
votes
0answers
12 views

log4j:ERROR Could not read configuration file [C:UsersPublicDocumentsCheckoutWebContentlog4j.properties]

My error code is this, when i am trying to use my Tomcat server in Eclipse. 2019.05.23. 8:48:47 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library ...
0
votes
1answer
11 views

How download jar file with pom file in gradle folder?

I add compile 'org.apache.commons:commons-vfs2-project:2.3' to my build.gradle file, but I found there is ~\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-vfs2-project\2.3\...
-1
votes
0answers
29 views

Add some jars in maven dependency

I am working on a maven based Spring boot application. I have some external jars which I want to include in the project pom.xml. There is no existing artifact for these jars. How can I do this in the ...
-1
votes
1answer
29 views

How to fix “no matching fuction for call to:” error in c++

I'm writing a program for salary statements and I get this wierd error when I inherit purely virally. I already checked whether I made some mistake in the baseclass or anywhere else but I can't find ...
1
vote
0answers
12 views

JNA failing to load, UnsatisfiedLinkError, “Access Denied”

There are several similar questions, but I fear mine is different enough to be distinct. I am in windows 10 64-bit, using Eclipse 4.11 with OpenJDK 11, and am not using an admin account. When I run ...
0
votes
0answers
16 views

Adding Other Eclipse Projects to Classpath for an M2E Maven Compile

Background Info I am completely new to Maven. This new application is with Spring Boot and Java, and uses Maven with a pom.xml file to pull in outside dependencies. Heretofore, I have been ...
-3
votes
0answers
27 views

How can I exchange data from Matlab to Eclipse? [on hold]

I have a java code written in Eclipse, with the use of cplex, and another one written in Matlab. I want to exchange the data between these two models in an iterative way. How can I do it?
0
votes
0answers
6 views

Running behave within Eclipse/PyDev

I'd like to be able to run behave from the context menu within the PyDev project explorer (i.e. right click (on a feature file or directory) Run As- Behave and have it run the feature file (or files) ...
0
votes
2answers
36 views

How to create spring boot project from existing maven project

I have created a maven project in eclipse and I want to deploy it on a server(tomcat I guess). I believe this can be done via spring boot. My question is this: this project has imported several jar ...
1
vote
1answer
18 views

Eclipse - How to disable “direction” on find/replace dialog

In eclipse, when using the CTRL+F dialog, it is a bit annoying to search for some word in a file and having to select the direction you want to search (forward or backward) or having to put the cursor ...
0
votes
0answers
12 views

How to configure Eclipse for Apache webserver (not tomcat)

I have to configure eclipse to develop and debug php webpages. Now I have configured the local 'integrated' webserver. I would like also to use an installation of Apache webserver (not Tomcat) to ...
0
votes
0answers
16 views

How to get a proper String from Arduino via SerialEventListener

I'm trying to print a String to console that is sent from Arduino to a Java program in my PC (which runs 64-bit Windows 10 with Eclipse 2019-03 version) by using SerialPortEventListener. The event ...
0
votes
0answers
22 views

web service server deployment issue

I'm learning web service with wildfly and eclipse and follow the following steps: create a dynamic web project named MESinvoke create a web service class MEScreate the code is below: import javax....
1
vote
0answers
23 views

web service deployment with no class found error

I created a web service and deployed it to server successfully. But when I tried to send a request I got the error message like below: The error happened at below code: Service service1 =null; try { ...
0
votes
2answers
18 views

Jump to definitions in eclipse doesnt work

I'm new to java development and eclipse IDE. All this time I use IDE like PHPStorm and Visual Studio Code. And in those IDE we have Ctrl + Click shortcut to jump to definition of the class/functions. ...
-1
votes
0answers
11 views

Why is this function linking the if elif to the return statement and throwing an EOF?

I have no idea why this is giving an unexpected EOF. I feel like the indentation is all correct, but for some reason the return is linking to the if-elif...if that makes sense. In eclipse it has the ...
0
votes
1answer
35 views

Maven/Eclipse Attempts to Compile Tests with Main Code

I am running eclipse oxygen (release 4.7.3a) with maven plugin m2e (1.8.3.20180227) and java 8 I have a project with a module. The module has /src/main/java and src/test/java The junit dependency is ...
0
votes
0answers
20 views

eclipse+pydev+flask: local imports are marked as errors

I have been working with the flask tutorial project that uses an application factory (create_app). In some of the modules imports are taken from the current directory, like from . import auth pydev'...
0
votes
0answers
16 views

Duplicate class/entity mapping exception in Hibernate

I am getting following Duplicate class/entity mapping exception after switching a jar for source code project for an internal module within Eclipse. Everything works fine with the JAR, but it starts ...
0
votes
0answers
9 views

GAE throwing error running under Eclipse on Windows 10

When I run GAE dev_appserver.py from Eclipse (Oxygen) an exception is thrown. When I run dev_appserver.py from a cmd line (not run as admin) an exception is not thrown. The GAE exception thrown: ...
0
votes
0answers
17 views

How to get user input thru Eclipse console for Appium iOS test script?

I have been working appium test script for iOS App. Each of test script I made is working well thru Appium. Now, I want to create kind of menu which have each of my test function() corresponds with ...
0
votes
1answer
20 views

Eclipse maven project not recognising any of the dependencies

I am trying to create maven project by importing as existing maven project from eclipse workspace project but eclipse is not able to resolve any of the dependencies. Everytime I create the project, ...
1
vote
0answers
31 views

Open file in eclipse from command line creates new eclipse instance (linux)

I want to open a file in Eclipse from Java. Therefore I use the command line feature like: sh -c <eclipsePath> --launcher.openFile <filePath> Every time the code is executed a new ...
0
votes
0answers
17 views

Screen displayed as blank in RCP 4.8 in compatibility mode

While using the same code of RCP 3.6 in 4.8, in compatibility mode, application is started and home page is available. Some of the screens are displayed as blank in 4.8 .Some views are not being ...
1
vote
1answer
20 views

How to prevent eclipse formatter from removing “alignment spaces” in block comments?

We are using a (slightly adopted) version of the "Java style" from google, by simply importing the corresponding XML within eclipse (from here). That works nicely, but we see one annoying problem ...
1
vote
1answer
23 views

How to accommodate classpath user entries from Eclipse to IntelliJ in run configurations

I am trying to migrate to IntelliJ from Eclipse. I have some user entries which are mentioned in the classpath of one of the run configurations in Eclipse. Exactly where/in which option should I ...
0
votes
1answer
56 views

How to run maven project in eclipse(To get the “Hello Word” printed out)

I created a maven project using the maven-archetype-quickstart and can run both maven clean and maven install succesfully. However, when running the maven install the "Hello world" line is not ...
0
votes
1answer
15 views

TestNG doesn't show line number for line from where the null pointer exception occurs

TestNG shows null pointer exception but does not show the line number from where this exception occured - difficult to debug. Environment: Eclipse Oxygen, TestNG downloaded from eclipse marketplace. ...
1
vote
1answer
22 views

Referencing locally declared variable into an array for data for chartjs

I'm trying to reference a value which stores a model's property from the session. var value ='${foo.property}'; Now using chartjs I try to reference the value as one of the data for the graph ...
0
votes
1answer
38 views

How could I get threads to run sperately from eachother? [duplicate]

I'm coding a program that if the incorrect answer is input, and the enter button is pressed, the background turns light red (Or pink, according to Color) for 2 seconds, then returns to its normal ...
-1
votes
0answers
21 views

How to use StdIn of Princeton Algorithm Course to read .txt file in Eclipse

The question may be native to someone. I'm a beginner and just study the Princeton algorithm course. Previously I only use eclipse to program java. The professor prefer using command line. I want to ...
1
vote
0answers
26 views

How to get the tool id for eclipse headless build

Eclipse has a headless build option and in the documentation they say we can add or replace tool options Replace a tool option value: -T {toolid} {optionid=value} Append to ...
0
votes
0answers
18 views

NoClassDefFoundError When Running Maven Project (Eclipse)

In my Maven project, I added a dependency for the MongoDB java driver. But when I try to run the program, it produces: java.lang.NoClassDefFoundError: com/mongodb/MongoClient com.therapy.Test....
0
votes
1answer
14 views

Jax-ws endpoint not asking to create wrapper classes

I'm following this simple tutorial: https://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example-document-style/?fbclid=IwAR0vxhYrj9MKy1Q28h6luFVJoSxDP4KWBOLEu_v_Ss4uQztmB-9JuYsS4RI and at ...
-2
votes
0answers
17 views

Trying to call overriden method of subclass in main [duplicate]

I am writing a program in java and i am facing this problem. I have made an abstract superclass Customer and an subclass RegisteredCustomer and of course the main class. In Customer class i have an ...
0
votes
0answers
24 views

How do I implement Kruskal's algorithm in Java with non-integer vertices?

I've been trying to implement Kruskal's algorithm on my graph which is undirected and weighted. Nonetheless, in all of the implementations i've seen vertices are defined as integers but in my project ...
0
votes
0answers
11 views

Project Facets for Java 12 on eclipse 2019-03 [duplicate]

I have installed the latest eclipse version 2019-03 with support to JDK 12 and have my application ready to work on JDK 12 on Tomcat 9.0.20. I am using Maven to build my application. However, the ...
0
votes
0answers
17 views

How to implement a TOTP algorithm (RFC6238)?

I'm experimenting with hotp and totp, I'm following the rfc6238 documentation (https://tools.ietf.org/html/rfc6238), but I don't understand how to make it work. Does Facebook give me "dsdd dsds dsds ...
0
votes
0answers
18 views

Cannot find -lglew in SFML

I keep getting an error message saying that eclipse cannot find -lglew. I've tried renaming the libary linked to like glew32. #include <SFML/Graphics.hpp> int main() { sf::RenderWindow ...
1
vote
3answers
55 views

Trying to call the constructor of subclass in main

I am writing a program in Java and I am facing this problem. I have made an abstract superclass Customer and a subclass RegisteredCustomer and of course the main class. I cannot find a way of using ...
-1
votes
0answers
12 views

How to design a IoT project using Californium?

I must build using Califorium a project for a college exam, but i don't understand how design the different components of the project. I write below some goals: "The farmer's house represents the ...
0
votes
1answer
28 views

How to get the metadata of a file open in eclipse in a programmatic way?

I would like to get the metadata (creation time, last modified, size, etc.) of all the files that are open in eclipse in a programmatic way. I have the code to get the list of files open in the ...
0
votes
1answer
16 views

Eclipse 2019-03 support for Tomcat 9

I have installed the latest eclipse version 2019-03 with support to JDK 12. The Servers View was not available. So I installed the plugin Eclipse JST Server Adapters Once installed, I am not able to ...
0
votes
0answers
34 views

Java can't find native library path

I know this is a quite common question but I think I tried every solution without success. The error I get: Native code library failed to load. java.lang.UnsatisfiedLinkError: no App_JavaAPI in ...
0
votes
0answers
51 views

Java Bad Major Version error, How to change the .jar's class files from Major Version 52 to 51 (Java 1.8 to 1.7)?

The project I'm working on uses Jasperreports and I am upgrading the version from Jasperreports1.2.7 to 6.7.0. I was able to do Mvn Clean Install perfectly fine and went to eclipse to do Clean Build. ...
0
votes
0answers
18 views

How to fix an error with connecting to the Gradle build?

I am trying to import a project (a libGdx project) with Gradle. I try to Import by clicking on: File -> Import... -> Gradle -> Existing Gradle Project -> at the wizard welcome page next -> browse... ->...

http://mssss.yulina-kosm.ru