Questions tagged as 'spring-boot'

1
answer

What is the best way to login to the application via facebook and login to a rest (spring boot) server?

I'm creating an app with react native where I log in to facebook and I also have information from this user, created after login, on a rest server that I developed with spring boot. As the rest server will not have a password because the user...
asked by 27.10.2017 / 20:36
2
answers

What are the ways to avoid infinite recursion without using the JsonIgnore annotation in SpringBoot

I have a @OneToMany relationship between Produto and TipoProduto where TipoProduto can have multiple Produto s and a Produto can only have TipoProduto . I would like to list all Produto s...
asked by 30.10.2017 / 00:33
1
answer

How do you handle submitting a form only once?

In a Method POST form, when I click the button twice it quickly executes the submission twice. Solutions with javascript or with the spring framework.     
asked by 14.09.2015 / 16:24
2
answers

How to save images to the database using spring boot?

I'm having trouble saving images to a form. Does anyone know how to save image to mysql database using spring boot? I am now learning this technology, so with this difficulty. Form html:                           Providers             Suppli...
asked by 07.06.2018 / 13:27
1
answer

When should I use the annotation @EnableAutoConfiguration and how does it work?

Annotation EnableAutoConfiguration should be used on what kind of project? and how does it work in the application?     
asked by 05.06.2015 / 01:16
2
answers

How to send an error message to view

I'm a little lost here, I'd like to put a parameter in the view to tell the user that their password is wrong, expired, and so on. the problem that spring-security identifies. WebSecurityConfigurerAdapter @Configuration @EnableWebSecurity...
asked by 17.03.2016 / 18:51
2
answers

Deployer of a Spring Boot project

I'm doing a deployer of my first project in Spring Boot + Angular. I have a linux server (centos) where I took a tutorial to install tomcat: tutorial Tomcat is configured according to the tutorial, I've already been able to deployer a war,...
asked by 05.07.2017 / 15:04
2
answers

Invalid property 'category.subcategory' of bean class. Error saving user to bank

I'm developing a web application that has the following mapping: A user has a category; A category has several subcategories; a subcategory has several products. As the image below: WhatIamtryingtoimplementis:whentheadminregistersanewsupplierhe...
asked by 13.06.2018 / 01:52
1
answer

Spring boot Data-JPA and JSF Java Config

I'm setting up a project using Spring boot for ioc and Data-Jpa along with JSF but I have a problem with @Autowired my DAO is not loading. Does anyone know how to do this setting and where can I be wrong? Here's my setup: Applica...
asked by 09.07.2015 / 08:42
1
answer

POST Spring Data REST does not work with relationships

I'm having a project using Spring Boot and Spring Data Rest to serve a Rest API. When I'm serving an entity without relationships, it works without problems. The problem is when I use an entity with relationships. I can not add new entitie...
asked by 28.05.2016 / 16:18