Questions tagged as 'spring-boot'

1
answer

Capturing input data of type "radio" and transforming into JSON

(This project is being developed with Spring Boot + Thymeleaf) I have an html page that will work as a questionnaire containing more or less 100 questions (the code below is just an example). Each question has 4 inputs. <div> <inp...
asked by 24.05.2018 / 00:46
2
answers

Transaction control application rest in spring

I was studying a bit about the @Transactional annotation (Spring version), and I had a question. According to a publication made in DevMedia , the way more correct "to use is noting in our business method, because there can have several acti...
asked by 25.05.2018 / 19:09
1
answer

How do I package a Spring Boot application with maven without running the tests?

I'm developing an application with Spring Boot and every time I run the command mvn package it runs my unit tests. However, my tests do not raise the server with the application to run the tests on it, because the database is not on my ma...
asked by 28.03.2018 / 16:43
1
answer

Upload and files using API Rest

I'm creating an end-point to output a file in the format (.txt), but my entity is not just the file. There are other attributes, so I need to send json this way to the server: { "nomeCliente" : "teste", "arquivo": // aqui eu enviaria o arquiv...
asked by 20.03.2018 / 18:12
1
answer

Use profiling of Maven or Spring Boot?

In my research I could understand that there is a way to perform application profiling (eg homologation and production) in two ways, via maven and spring-boot. The big question is that I have multiple profiles and would like to package each one...
asked by 28.03.2018 / 16:14
1
answer

Spring boot modules via maven do not interact

I'm using Spring Boot to create a web service RESTFul and a SOAP, each in a module but both in a single project. So I decided to separate my domain layer into a third module since it is the same for both types of web services and so I could reus...
asked by 23.03.2018 / 14:55
1
answer

How do you transform a Spring Boot project into a .jar file?

Personal I do not know how to turn a Spring Boot project into a .jar file My attempt was to get into the project with msdos and with the command mvn install to create the .jar file But there were several errors, there is no way to put it and...
asked by 12.12.2017 / 20:34
1
answer

When I make a request in my API Rest with Spring boot, it is coming with one more item

I have already debugged and the result is a correct list, but when I make the request in the Postman, there is one more item. Looks like an accountant. Can someone tell me what this is and how to pull it off? Thisismycontroller.importjavax.s...
asked by 30.11.2017 / 02:34
1
answer

Connect SpringBoot with PostgreSQL

I'm trying to connect the bank to SpringBoot and I'm finding that my problem is here: # =============================== # = DATA SOURCE # =============================== # Set here configurations for the database connection spring.datasource.u...
asked by 13.11.2017 / 19:46
1
answer

By clicking on the .sql file it goes to Mysql Workbench

See the image: Whenever I click on the selected file that is an SQL file it opens the Mysql Workbench, it was to open a file in spring tools. This should be some IDE configuration, would anyone have a suggestion to help me?     
asked by 16.11.2017 / 17:46