I need all SOAP requests logged in the CommonLogFormat (see http://en.wikipedia.org/wiki/Common_Log_Format), plus the duration (the amount of time it takes to p
I have Java version 1.8.111 installed and the initial error message after running mvn3 install was as below. [ERROR] Failed to execute goal org.apache.maven.p
I have a test: @Rule public ExpectedException thrown = ExpectedException.none(); ... @Test public void testMethod() { final String error = "error message";
My application reads a html table and then a script (TableToCSV) converts it into a .csv format. After that I convert that .csv into a sqlite database. After th
I have to convert a certificate in PEM format into an Java key store. To use this one with tomcat at a windows server I've got those files: cert_request.csr -
I am a Java programmer who is new to the corporate world. Recently I've developed an application using Groovy and Java. All through the code I wrote used quite
I want to write a storage backend to store larger chunks of data. The data can be anything, but it is mainly binary files (images, pdfs, jar files) or text file
I need to convert latitude longitude values into pixel positions as well as do the opposite. I've found many solutions to go from lat/lng->pixel, but can't f
I am sending a bufferedImage over a socket and I am using the example found in this post: Sender BufferedImage image = ....; ImageIO.write(image, "PNG",
I'm trying to do simple thing, save with Hibernate enum value as string. My mapping looks like this: @Entity @Table(name = "CONTRACTOR") public class Contracto
I have several methods annotated with @Scheduled(fixedDelay=10000). In the application context, I have this annotation-driven setup: <task:annotation-drive
I am trying to make use of an external NYtimes API. Here is an sample example data output : { "status": "OK", "copyright": "Copyright (c) 2016 The New
//I have retrieved a Result from MySQL and created and Array-list User .i have sent this //US er Array-list in and sent it through request Response Object. Now
Let's say I have a function that looks like this: public void saveBooking(/* some inputs */) { //save into database } Before saving into database, I have t
I have a class called User which is having List of Account class objects like this public class User{ private List<Account> accounts = new ArrayLi
How can I show the folder (bin) where my class files are placed after I build a project in eclipse? I want this directory to show up in the package explorer. Se
The autocomplete of eclipse is not working now and I searched for hours but I couldn't find an answer to solve it. I haven't used it for long time then the firs
I am compiling a .java file using ant compiler. I am getting the following errror "package org.apache.commons.io does not exist error" I downloaded the apache
This is my selenium test script. import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.ie.Internet
eclipse isn't making import suggestions anymore. I don't know why it stopped. Here is an example.