Questions tagged as 'spring-boot'

1
answer

What does the addViewControllers method of the Spring boot WebMvcConfigurer class do?

I'm using thymeleaf on the front end of the application and I have the following configuration class, with the addViewControllers method in question: @Configuration public class WebConfig implements WebMvcConfigurer { ... @Override...
asked by 07.09.2018 / 01:31
0
answers

Problems sending Push to IOS devices

I have a server on aws with a SpringBoot backend, that same backend works with push sending. This same backend, when run on a local machine and using the Apple Push Services certificate as Developer sends Push normally, however when I try to...
asked by 22.08.2018 / 20:45
0
answers

ModelAndView spring mvc with jquery or javascript

I would like to know if there is any way to manipulate an object created by the Spring mvc ModelAndView in javascript. Example: I want to add the object through ModelAndView, convert a json and work with it in javascript. public ModelAndView p...
asked by 01.08.2018 / 01:51
0
answers

Error creating dynamic form with thymeleaf

The form receives a list and creates fields to be filled <form action="#" th:object="${questoes}" method="POST" th:action="@{/testar}"> <div class="form-group" th:each="item, questao : ${questoes}"> <...
asked by 27.07.2018 / 02:26
0
answers

Whitelabel Error Page [SpringBoot + Gradel

In a java system with SpringBoot + Gradel. I'm getting an error message: CodeController:packagecom.javainuse;importorg.springframework.stereotype.Controller;importorg.springframework.web.bind.annotation.RequestMapping;importorg.springframewo...
asked by 08.08.2018 / 21:59
0
answers

Can not find a supporting object '[object Object]' of type 'object'

I'm not able to do a simple getAll in an entity. I'm using spring boot + angular 6. The spring console shows that the query is being done. error that is appearing in the browser.    Can not find a supporting object '[object Object]' of typ...
asked by 19.07.2018 / 01:07
2
answers

Spring Boot paging with custom SQL query method

Next, I have a Spring Boot application where I list some entities. I've searched how to use pagination, but all the examples I've found use the default method findAll() of the Repository, but I do not use this method in my application, I...
asked by 09.07.2018 / 12:20
2
answers

Redirect to an html with Spring Boot

I'm starting to create applications with Spring Boot + Gradle, but when configuring the Controller, I can not redirect a url to a html or jsp file. My application looks like this: Projectstructure: MyController: Thepagedisplayedby link i...
asked by 14.07.2018 / 20:36
0
answers

Jackson and json array

All good people? I'm killing my head for a few days but without success. I need to insert information into the DB that comes through JSON. It turns out that when an array comes, it does not want to insert. Explain better: In the domain,...
asked by 27.06.2018 / 04:24
0
answers

spring boot + Oracle Connects to the bank but does not generate mapped table

Spring boot connects to the bank but does not generate the mapped tables ... In the example below, I'll put the password wrong, see the return: dataSource.setPassword("");    2018-06-29 00: 26: 46.322 INFO 13612 --- [restartedMain]   org.hi...
asked by 29.06.2018 / 05:39