Questions tagged as 'spring'

0
answers

hello, I used spring boot generating maven project with java and spring boot 2.0.3

I have used spring boot generating maven project with java and spring boot 2.0.3    Failed to execute goal   org.apache.maven.plugins: maven-surefire-plugin: 2.21.0: test   (default-test) on project Does anyone know this error? My pom.xml...
asked by 27.06.2018 / 13:14
0
answers

Error creating bean with name 'adminController': Unsatisfied dependency expressed through field 'adminS';

Hello, what's wrong with this error because I've already created everything? controller @Controller public class AdminController { @Autowired private AdminService adminS; @RequestMapping("/admin") public String showAdmin(M...
asked by 25.06.2018 / 21:45
0
answers

Routing error using Angular - Spring Boot in Weblogic

I created a Spring Boot Rest project, which I consume from an angular application. I build the war with maven, I upload it to WebLogic and it works perfectly, always when the path configured in the weblogic.xml is "/", if I assign a name to the...
asked by 28.06.2018 / 22:37
1
answer

spring mvc error of mime type

hi how I currently have a project with the following technologies THYMELEAF SPRING MVC HIBERNATE JPA good at the time of generating a view with external css to which I mean to make href out of the server .. there is no problem bu...
asked by 20.06.2018 / 18:16
0
answers

how to change the route of my view jsp and can find the one that I specify

As I do so that I can not depend on the configuration of the web.xml when I create my view jsp (index.jsp recognizes me what comes by default in the welcome file) and when it can not find it, it marks 404 error. and I want you to recognize me...
asked by 22.06.2018 / 05:31
0
answers

Using a Java client RESTFul with content type of MultipartFile has appplication / pdf changes to application / octec-stream

When I try to consume a RESTFul API using a Java client with REST Template Spring. We have an API to consume POST to which we want to send a file, for this it has a MultipartFile object of input parameter. The Java client has a MultipartFile as...
asked by 24.06.2018 / 17:39
0
answers

Unzip .zip file (imag1, imag2, imag3) in Java

I find myself in how to unzip a zip that contains images, what I want to do is unzip the file and save the images of type [] to my BD. Help me, please.     
asked by 13.06.2018 / 19:45
1
answer

How to validate the download of a file when there is no data, using spring?

I have the following method in the controller that passes parameters to a service method to do the query search, and the information is downloaded into a csv text file @RequestMapping(value= "/views/formulario", method = RequestMethod.PO...
asked by 11.06.2018 / 00:22
1
answer

how to fill a combo using an enum, with spring?

I have the following enum public enum TipoMovimientos { MOVIMI_ALTA(1L,"ALTA"), MOVIMI_BAJA(2L,"BAJA"), MOVIMI_EXTEM(3L,"EXTEMPORANEO"); private Long idTipoMov; private String descTipoMov; private TipoMovimientos(Long idTipoMov, String de...
asked by 01.06.2018 / 04:40
2
answers

Spring-boot: run works but java -jar fails

I'm having a problem running java -jar. The application is an integration WS (exposes an endpoint whose operations call a third-party WS). The application worked correctly with http, but when the third party added its own certificate and forc...
asked by 28.05.2018 / 09:51