Questions tagged as 'spring-boot'

0
answers

How to display sub comment of the parent comment sub with Spring Boot and AngularJs?

I want to display every comment with sub-parent comments with your child sub-comments. Same as this example. comentario #1 comentario 1 resposta #4 do #1 resposta comentario 1 resposta #8 do #4 resposta do resposta comentario...
asked by 19.12.2018 / 13:41
0
answers

Thymeleaf Dynamic flaps

I have a list of stores when the address is the same I would like one side of the other as it is and if the address is different it is listed one underneath the other. How could he do that? followthecodebelow<form><ulclass="nav nav-...
asked by 17.12.2018 / 20:39
0
answers

Deserialize List with java (Spring Boot).

Good afternoon, I'm skirting the typical problem of jackson recursion in a Many-to-Many relationship in Spring Boot, with Custom Deserialize and Custom Serializer. My problem is in Custom Deserialize I need to deserialize this: { ......
asked by 21.12.2018 / 14:37
0
answers

CSS does not work - Spring Boot

Hello. I have the following question. I created a controller in Spring Boot, and when I try to access the route    / moderators The CSS and JS of the template works normally, however when I try to access a route that is:    / modera...
asked by 16.12.2018 / 20:33
1
answer

How to merge GitHub codes?

I downloaded a project from GitHub, then made a change, another colleague of mine did the same thing with a single difference, he did a commit and updated the repository in GitHub. I needed to create a Branch and make a merge and then I made a...
asked by 28.11.2018 / 18:23
0
answers

Spring Boot connect to another base of Heroku - Error: could not extract ResultSet

I created a Python / Django app and published it on Heroku. (My database) Now I have a Java / Spring Boot API that is also in heroku. (Rest API) But it connects to the base created by Django that is also in heroku. I put in my applicati...
asked by 21.11.2018 / 20:40
2
answers

Change an entity by passing a list

Hello, I have a class teacher registered and I want to change it by passing an array of materials. I have the following code: class teacher: //... atributos não importantes ao problema @ManyToMany @JoinTable(name = "teacher_x_le...
asked by 11.11.2018 / 17:06
1
answer

How to implement deletion in Junit with Spring Boot?

I need to know how to implement registry exclusion through Junit (Unit Testing) with Spring Boot, I'm having difficulty, the inclusion is working as you can see below; @Autowired private PessoaRepository pessoaRepository; @Autowired...
asked by 02.11.2018 / 13:23
1
answer

How to solve: Column "id" not found [42122-197]?

Folks, I'm creating an API that will display random phrases, from a table in the database. The problem is that whenever I access the route, in the console, I get this exception:    org.h2.jdbc.JdbcSQLException: Column "id" not found [42122...
asked by 01.11.2018 / 02:08
1
answer

How can I get the JWT token after authenticating?

I have a Rest spring-boot API which, when a user authenticates the api returns the token jwt, I noticed in the browser that the token appears in the Response Header > Authentication and in the tests with the Postman it shows in the Body. H...
asked by 16.11.2018 / 15:58