Questions tagged as 'spring'

1
answer

Error logging in using Spring Security

Recently I started using Spring Security to make my application safe, the problem is that when I hit the login button the correct one was to take me to the application home page, but when clicking you are returning me a .js file that is in the j...
asked by 21.11.2018 / 12:00
0
answers

Spring Data jpa save () method does not work, returning an object with id null

when testing the call in postman it returns the object as if it were saved but the id comes with value zero, follow my code below @Entity(name = "TB_CLIENTES") public class Cliente implements Serializable { private static final l...
asked by 13.11.2018 / 19:31
0
answers

Query Problem in Repository Spring Data Neo4j

I'm implementing a @Query in a @Repository with Spring Data Neo4j. Strangely the query that squeezes directly into the Neo4j Browser is identical to that presented in the console. As below: Query Neo4j in Browser: MATCH (u:User)-[v:VISITS]-...
asked by 13.11.2018 / 19:01
0
answers

MongoDB with JasperReport

In the course of angular the teacher taught some commands to work with MongoDB using find, insert, update, updateOne and others, but with this form it is not possible to create reports with jasperReport, probably the best known I imagine, as I w...
asked by 22.11.2018 / 19:54
1
answer

Service in JBoss does not log and does not work right

I have a service that is deployed inside my JBoss EAP 6.4, when I try to access the end-points of the service it returns a padded response, along with the status 500, however nothing is logged into the console and I can not either debug the rout...
asked by 07.11.2018 / 17:33
0
answers

KeyHolder.getKey () may return null - Spring Boot JdbcTemplate

I'm starting Spring and I'm doing a method that will insert a new row into a database table and this method will return the% new% that was generated by the Bank, I'm doing this: public Profissional insert(Profissional profissional) { Prepa...
asked by 06.10.2018 / 00:16
0
answers

Error on REST and Spring time query

I'm trying to make a query via GET by passing parameter id, date, and time. If I pass ID and Date, it works, but when I pass the time, I get a return error. Field error in object 'tagsHourFilter' on field 'starttime': rejected value [22:27:02...
asked by 08.10.2018 / 19:02
0
answers

Menu accordion with primeNG adjusting to screen size

Good afternoon, I'm studying PrimeNG with Spring and I want to do something similar to what's on the site. In the primengSite , when the screen dims, the left side menu disappears and creates an upper button. I'm lousy with front-end and I want...
asked by 08.10.2018 / 22:09
0
answers

Query with multiple Ids and date with JPA and Spring via RESTApi

Good morning, I'm trying to set up an appointment with Spring JPA and Rest where I can insert several IDs and datainicial and datafinal. The query works if I only put an ID with the dates. The code looks like this: @GetMapping("/search") publi...
asked by 02.10.2018 / 16:50
1
answer

404 - Java EE Project Maven with Spring returns 404

I'm having problems with the Spring configuration of my Maven project, in which to test if everything was working, a simple hello world did not work and apparently there are no explicit errors, someone please save me there! web.xml <?xml...
asked by 02.10.2018 / 18:50