Questions tagged as 'spring-boot'

2
answers

as I integrate 2 spring modules

I want to integrate 2 projects that are totally separate but that work in cooperation, and I want to join them in a single project, use a MAVEN multimodule    What should I notice? the dependencies? the bookstores? main class of the firs...
asked by 05.05.2017 / 18:12
1
answer

Center the elements of a list in a navigation bar

I'm doing a navigation bar with Bootstrap, within the framework of Spring Boot, which sent them: HTML <header th:fragment="header"> <nav class="navbar navbar-expand-lg navbar-dark"> <a class="navbar-brand text-w...
asked by 10.09.2018 / 20:04
1
answer

SpringBoot with Mysql, error connecting

I'm trying to connect to the MySQL database with SpringBoot but it gives me an error import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.b...
asked by 28.06.2018 / 17:32
1
answer

Pass parameter to Controller in Spring Boot

I have a page with a series of images inserted in cells. I have in mind to make that according to which image you click, a common page loads in which within the controller it determines where it comes from. So that according to what image comes,...
asked by 30.05.2018 / 19:11
2
answers

No MimeMessage content when sending a SimpleMailMessage

I am trying to send an email from my web app but I have a very strange error.    org.springframework.mail.MailSendException: Failed messages:   javax.mail.MessagingException: IOException while sending message;   nested exception is: java.io....
asked by 25.05.2018 / 19:29
1
answer

Error generating war file - Java Spring 5

I have my working environment in Ubuntu 16.04 and I am working with spring 5, I have tried to generate my war file but it generates the following error messages: Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-war-pl...
asked by 02.02.2018 / 06:06
1
answer

Combobox value is not assigned to the model class (Hibernate Validator)

I am trying to load values to a select (or asbobox) dynamically from server side with Spring Boot. I am also validating this form with the help of Hibernate Validator. I'm having a very annoying problem that I can not explain why it's happeni...
asked by 18.11.2018 / 23:36
1
answer

Error 500 when sending file to SpringBoot-Angular2 server

I'm trying to send an excell from the Angular2 to the SpringBoot. HTML: <form #fileLoad="ngForm" (ngSubmit)="addExcell()"> <input type="file" id="file" name="file" class="form-control" (change)="fileChange($event)" accept...
asked by 13.07.2018 / 14:51
1
answer

Requests not to enter the @RequestMapping in Spring

I am practicing an application in Spring and I am having a problem that I am not able to understand. @Controller public class LoginController { @Autowired private UserService userService; @Autowired private BCryptPasswordEnco...
asked by 21.06.2018 / 16:00
1
answer

Send Excel file to the SpringBoot-Angular2 client

I have to send an Excel from the SpringBoot server to the client in Angular2, Excel does not exist and can not be created because I do not have written permissions, so it will have to be put in a buffer or something ... The problem I'm having...
asked by 24.07.2018 / 10:32