Questions tagged as 'eclipse'

1
answer

How to create a project with JSF, Primefaces and Tomcat that runs in Eclipse and Netbeans at the same time?

How can I create a Maven project with JSF, Primefaces and Apache Tomcat so it runs in both Eclipse and Netbeans without any problems? (Preferably with the latest versions of the technologies)?     
asked by 02.05.2014 / 03:19
2
answers

Customize the "Generate toString () ..." of eclipse to print the path of a class

How do I customize the Generate toString() function of eclipse (source> Generate toString ()) to print the path of a class? For example I have the following entity that prints: package com.etc.model; @Entity @Table(name="CLIENTE") p...
asked by 30.09.2017 / 04:48
2
answers

Java + Firebird connection returning Null

My connection string with the firebird database returns null. Below is code: public class ModuloConexao { public static Connection conector(){ //criação da varáivel conexao Connection conexao = null; //chamada...
asked by 18.05.2017 / 22:09
1
answer

Import java classes to a project automatically?

I wonder if there is any way to automatically import java classes from a given local directory to my current project. For example: Let's say that when I press an "Import" button in my application, all java classes that are in "c: / my folder / m...
asked by 10.03.2016 / 01:09
1
answer

How to change the language of exceptions thrown during automated testing

Using Eclipse (IBM RAD Studio), Maven, and JUnit, when an exception is thrown while running tests the message is displayed in Portuguese. I would like it to be shown in English. Example: org.apache.openjpa.persistence.ArgumentException:...
asked by 04.09.2014 / 22:28
1
answer

What is the difference between Start and Publish on a server in Eclipse?

When I add Tomcat as a server in Eclipse, Start and Publish appear. What's the difference between them?     
asked by 12.05.2014 / 16:55
1
answer

JDBC SQLite - Java

Good afternoon, How do I make the connection to SQLite DB? I made the connection class like this. package model; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class Conexao { public st...
asked by 31.07.2014 / 18:27
1
answer

Is it possible to open windows generated from netbeans in Window Builder?

I've migrated some projects in
asked by 17.11.2016 / 18:16
2
answers

Picking the first and last date of the previous month

I'm using Selenium in Eclipse to automate the sending of commands to a website through JAVA files. On this site, I need to check dates. I did so to test: element = driver.findElement(By.name("form:dtEmissao_input")); element.sendKeys("01/04/20...
asked by 12.04.2016 / 16:30
1
answer

How to add to the build path a folder via maven

I have an application using Jhipster, to make queries I added querydsl, I configured in maven to generate Q classes, these classes are being generated in the path: target / generated-sources This folder is not in my buildpath so the project g...
asked by 16.04.2016 / 12:23