Questions tagged as 'spring'

1
answer

How can I combine 2 GET methods?

I have 2 methods get I use springboot and the first one brings all active people boolean active and the second one to the contacts that the person has, but I need you to bring me those contactos according to whether they are...
asked by 07.08.2018 / 16:09
1
answer

Connection failed through JNDI

Running under a Tomcat 9 and JDK 1.8, using Spring 5, I am trying to configure a JNDI connection to use a DataSource. If I configure Spring, through XML, I get my DataSource and everything seems to work fine. I configured the DataSource in my...
asked by 30.08.2018 / 07:53
0
answers

org.springframework.beans.factory.UnsatisfiedDependencyException when I do @Autowired

I have a problem when publishing my project on my server, I have tried several solutions and none of them worked, I have all the annotations correctly as well as the XML configuration so I must be ignoring something. UserController.java @...
asked by 05.08.2018 / 09:56
1
answer

Spring boot, 1 problem was encountered while building the effective model

I'm new to spring boot and I have a question. When I start a new maven project, in "Spring tool suite", I find this error in my POM.xml    "1 problem was encountered while building the effective model [FATAL]   Non-parseable POM   C: \...
asked by 17.07.2018 / 04:16
1
answer

Spring and Angular 4 - Generate Blob or Base64 Files

Sorry for the inconvenience, I hope you can help me with my question! I'm developing on a platform that in front has Angular 4 and the Back is Spring , In the front I use a npm that is called pdf make...
asked by 09.07.2018 / 17:17
0
answers

How can I solve this problem in Spring boot + JPA + Bootstrap + mysql

Greetings community I have the following code and I generate the error if someone of the community is aware that the error is due thank you very much on the Controller. @RequestMapping(value="/agregar",method=RequestMethod.GET) publ...
asked by 24.06.2018 / 22:44
1
answer

Help with the error: can not call getOutputStream () after getWriter (), when trying to perform a file download in java?

I have the following method in the controller, which returns a json type response to the view, to show in a dialog whether or not there is data in the bd according to the information of the parameters that happened to my service. @Req...
asked by 13.06.2018 / 06:51
1
answer

API REST WITH Spring Boot JPA AND HIBERNATE

I have a project where we are doing a restfull service with: Spring boot JPA JDBC WEB SPRING (MVC) Hibernate Well currently I do not have much experience with hibernate in the onetomany relationship. The detail is that for exam...
asked by 01.06.2018 / 08:20
0
answers

Problem in configuring CXF for SOAP and REST logging

I have SOAP and REST services in my application and I have CXF configured with spring and xml to show the logging. The SOAP services show them well, but the RESTs do not. My configuration is as follows: <cxf:bus> <cxf:features>...
asked by 10.05.2018 / 12:10
2
answers

Table lock caused by MysQL trigger

Currently I have a problem apparently with some triggers in one of my tables as it is blocked, by doing a few "INSERTS" the table works correctly but by doing many simultaneous INSERTS (I'm using JMeter for load tests) a DeadLock appear...
asked by 04.04.2018 / 19:02