Questions tagged as 'java'

1
answer

Convert Object to multipart document (multipartFile) - Download and upload files

Hello, I have this require of parameters in the backend of my application @RequestMapping(method = RequestMethod.POST, path = "/skills/excel") public ResponseEntity<?> loadExcelSkills(@RequestParam MultipartFile file) throws Encrypte...
asked by 14.06.2018 / 09:28
1
answer

Spring Boot + Maven: Project build error: Non-resolvable parent POM

I am creating a Spring Boot project using the Spring Starter Project. At first I did it normally a couple of times a few days ago. Today I try again and I find this error. The description of the error is this:    Project build error:...
asked by 02.09.2018 / 21:09
1
answer

Problem with Hibernate

I just had a problem when inserting a product (in this case) in the database. I'm working with the mapping and it always returns "false". I can not find where the possible failure may be. I show the classes. Class Mapping Products: pub...
asked by 04.09.2018 / 08:55
1
answer

String a Date formatted correctly

I have a question, as far as dates are concerned in Java. I receive several dates in String format but each of them comes in a different format, so they do not come in a certain format. Dates with formats such as: 21/05 / 2018Z09: 14: 32....
asked by 21.05.2018 / 09:06
1
answer

How to disable a boostrap dropdown menu?

I have the following method in the start controller that directs me to the menu screen @RequestMapping(value= "/menu", method= RequestMethod.GET) public String mostrarMenu(){ return "/menu"; } this is the jsp of the menu...
asked by 04.09.2018 / 04:36
1
answer

Android PayPalPayment: invalid long

I have an error in android studio , my code is: private void ProcessPayment() { montoPagar = montoTotal.getText().toString(); PayPalPayment payPalPayment = new PayPalPayment(new BigDecimal(String.valueOf(montoPagar)),"$","USD",Pay...
asked by 03.07.2018 / 15:31
1
answer

How to show a local folder image to an "ImageView"

I'm trying to show an image that is stored in the "drawable" folder and I'm using'setImageURI 'but for some reason I'm not sure the code is not working for me. The information that I am uploading in the app is from a json file in which I have...
asked by 29.06.2018 / 16:09
1
answer

Problem calling procedure stored from Java

I have a problem trying to access a specific procedure stored in SQL Server from Java . The stored procedure receives a XML as a parameter, and returns another. An example of a call is the following: DECLARE @xml AS NVARCHAR(2000) DECLARE...
asked by 04.10.2018 / 09:45
2
answers

multiplication and accumulation of several numbers entered by keyboard

I need if you can help me with the following I need to multiply all those numbers that are less than 0, entering it by keyboard, and go accumulating the multiplications. Thanks package control6; import java.util.Scanner; public class Contro...
asked by 06.10.2018 / 04:59
1
answer

Uninstall Java 9

I want to uninstall everything related to java 9 in linux, in order to install Oracle Java 1.8. When entering java -version I get: " -bash: /usr/bin/java: No existe el archivo o el directorio" . But when doing javac -version...
asked by 02.04.2018 / 22:03