Most voted "spring-boot" questions
Spring Boot lets you create production-ready Spring apps with minimal setup. Spring Boot favors convention on configuration and is designed to have an application running as fast as possible.
Learn more…642 questions
Sort by count of
-
0
votes1
answer163
viewscdi does not find daos(spring data +ejb+cdi)
the situation is as follows , I am using spring boot and The first thing I did was disable tom cat and use wildfly(10) I used spring data to create the Daos public interface AutoresDao extends…
-
0
votes1
answer279
viewshow to create a bean that returns an entityManeger
am using springboot + ejb + cdi + wildfly10 already created the datasource and configured , I went to the interface wildfly and DS is connecting normal. Dao @Repository public interface PessoaDao…
-
0
votes1
answer2523
viewsJsonformat changing date on a get request
I have a java web service using Spring Boot, in a class I have a date attribute and I use Jsonformat to format the date and convert on the client side using Gson. However, even defining the locale…
-
0
votes1
answer468
viewsProblem with Fetch Lazy [ Spring Boot ] [ Thymeleaf ]
Well I’m having a problem with my class at the Spring session Error: org.hibernate.LazyInitializationException: failed to lazily initialize I have a class that represents object in session and is…
spring-bootasked 8 years, 4 months ago Lucy Estela 61 -
0
votes2
answers848
viewsSpring-Boot + Thymeleaf, load data into Bootstrap modal window
Good afternoon! I am using spring-boot and Thymeleaf to develop a java application, I would like to know how to load records to the modal window of bootstrap by clicking on the link of the table…
-
0
votes1
answer392
viewsProblems with springboot filling
I’m entering the world of Springboot now and stumbled upon a problem I believe is easy to solve. Follow the structure of my project with class packages: br.com.springboot.api Springbootapplication…
spring-bootasked 7 years, 7 months ago Philippe Nunes 103 -
0
votes1
answer129
viewsPassing a variable to Annotation
I’m reading a JSON (using Jackson) and wanted to take that value and assign it to Spring-Boot Annotation. Would it be possible ? Follow the example below: @Scheduled(fixedRate = 14400000) public…
-
0
votes1
answer395
viewsValidate log data (spring-boot + Angularjs)
Hello, I am implementing a web project in spring boot + data + Angularjs. Where the client makes Rest requests to the server. On the Spring side I’m using repositories to develop database research…
-
0
votes1
answer1770
viewsWhat settings are required to make spring boot generate tables automatically?
I am currently trying to configure my application with spring-boot to generate tables automatically but still do not know how, someone can help?
-
0
votes1
answer2159
viewsAdd items dynamically to a list using Thymeleaf
In my application, I have a form to add an object to the database. In this object I have a list of other objects. For example, it is as if the object I am registering is a Sale and the list is…
-
0
votes1
answer213
views404 when trying to access post url with springboot
Good evening, I have the code below with the implementation of a service Rest /teste123, and when calling this method from the angular-js code, already authenticated with the basic authentication of…
-
0
votes1
answer175
viewsSpringboot Merge
I am using Spring Full, with Thymeleaf and Springboot, but my question is about Springdata, after implementing the interface to make use of the methods that Spring provides in Restpository, when…
-
0
votes0
answers558
viewsProblem generating modal window layout with form using Thymeleaf
Good afternoon. I’m managing to generate the modal windows of the bootstrap and load the data into the form, but the layout of the form is getting all messy. I’ll leave you two pictures to show you…
java twitter-bootstrap front-end spring-boot thymeleafasked 7 years, 5 months ago Cisino Junior 145 -
0
votes1
answer64
viewsFilter in a project that consists of several projects and that are executed in different ports (Spring Boot)
I wonder if there is how (and how I can) develop an application that consists of several other applications and to access these other parts of the application I need to have logged in. I believe…
-
0
votes1
answer48
viewsDeploy to Heroku after reinstalling Ubuntu
Good afternoon! I had to reinstall Ubuntu on my machine, and that’s why I was deploying it to Heroku. But now that I’ve reinstalled everything I can’t deploy anymore. I cloned the git project and…
-
0
votes0
answers143
viewsHow do I activate the javascript upload component using UIKIT?
This page deals with Javascript component implementations using Uikit Frameworks. Click here to access the Uikit page. I’m trying to implement the Drop Area as you can see in the figure below; But I…
-
0
votes0
answers229
viewsAutomatically update an object on other pages without reloading
Good afternoon! I would like to know how I can update an object in my view without having to reload the page. For example, on the main page of the system, I have 3 panels that shows the amount of…
-
0
votes1
answer498
viewsSerialization Localdatetime
I am trying to serialize an object that has a date with the Localdatetime class using Spring Boot, but the following error: 2016-10-09 18:28:26.218 WARN 17395 --- [ XNIO-2 task-2]…
-
0
votes1
answer243
viewsException when uploading Multipart from the Angularjs controller to the Spring Boot server
I’m having trouble sending files (images, pdfs) from the client side to the server side of my app. Whenever I try to send a file, Spring returns this exception: status:"Bad Request"…
-
0
votes0
answers223
viewsForm inside modal window does not align + Thymeleaf + Spring Boot
Good afternoon! I’m having trouble rendering a modal window using Thymeleaf. The purpose of Modal is simply to show a form with the details of the Service, without having to redirect the user to…
-
0
votes1
answer348
viewsForbbiden 403 - Redirect
To display an error message when I receive a 403 error, I would like the error message to be set via an HTML page created by me. Do you have a way to redirect? Using Angularjs or Spring itself? I’m…
-
0
votes1
answer254
viewsRelationship JPA, Spring, Angular,
I have a client record and I want to associate with this client a relationship of equipment but is not saving the relationship. on the model layer of the customer class I did so @OneToMany(cascade =…
-
0
votes0
answers537
viewsAuto search (Auto complete search)
Good afternoon! I am trying to implement an auto complete search on my system. But so far I have not achieved a satisfactory result. What I want is when the user searches shows the result, as google…
-
0
votes0
answers400
viewsError: Could not find or load main class com.eventoapp.Eventoappalication
I’m with this error I can’t run my application. Error: Could not find or load main class com.eventoapp.Eventoappalication My class package com.eventoapp; import…
-
0
votes1
answer216
viewsI cannot inject Mockmvc into integration test [Spring Boot]
@RunWith(SpringRunner.class) @SpringBootTest public class CustomerRestTest { private static final String BASE_URL = "http://localhost:8080"; @Autowired private…
-
0
votes0
answers650
viewsRequest SOAP with Spring using A1 certificate
I am trying to make a Request for sending Nfe to the Sefaz SP server, but I am always receiving the certificate error not found. I created a Bean that returns the Webservicetemplate, and this is my…
-
0
votes1
answer722
viewsValidate minimum number of characters in textarea?
Good people, I need to validate a textarea field in an application using Thymeleaf, to limit the maximum amount I have already managed, but I don’t know how to validate the minimum amount.
-
0
votes1
answer812
viewsSpring Boot does not start in Debug (Java) mode
I have an application developed with Springboot and can’t start my application in mode only debug. (If not debug it starts normally) It seems to loop and this error message keeps showing up in the…
-
0
votes1
answer432
viewsNo bean named 'entityManagerFactory' available
I am testing my Spring application with Junit, however the error occurs after placing the annotation @EnableJpaRepositories: Caused by:…
-
0
votes2
answers203
viewsSwagger2 with Springboot. How to separate documentation from source code?
Good afternoon, you guys. I’m documenting the Apis of a Spring Boot project using Swagger2. There are two ways to document: using a text file (JSON or YML) or using annotations. The problem of using…
-
0
votes1
answer228
viewsSpring-boot web security, I can’t tell if you’re authenticating or not
I am trying to implement spring-boot web security in my webapp, but when I enter with login and password, it is simply reloading the page, and I cannot understand if it is authentication failure, or…
-
0
votes0
answers57
viewsError 404 on deploy
Hello, I am developing an application using spring boot, locally it loads everything perfectly (I am referring to static files) but when I deploy in Heroku I is returned error 404 for css files.…
-
0
votes2
answers248
viewsReturning NULL in Spring Boot
My page is like this; <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <body> <h1>Olá! Thymeleaf configurado!</h1>…
spring-bootasked 8 years ago wladyband 4,694 -
0
votes1
answer545
viewsEdit method with Spring Boot problem
I created a project in Spring Boot with Thymeleaf and I’m having problems in the implementation that updates the database records, the application is managing to save the records, it is managing to…
spring-bootasked 7 years, 11 months ago wladyband 4,694 -
0
votes1
answer311
viewsUsing Jparepository and pageable can I make a partial query?
I have an object that is persisted with jparepository, I use paging but it returns all fields which is not necessary for the application. So there is some way to configure a @Query to just pick up…
-
0
votes0
answers844
viewsWhitelabel Error Page
Hello, I am trying to make a spring boot application with access to mysql database using Jdbctemplate and when I try to access via url the database data always returns me the error: Whitelabel Error…
-
0
votes1
answer65
viewsCreation of Formulars
My problem is this: I have a class for example client she via own name, surname and Cpf and a list of objects of the address class. The address class will only have the field patio and city. My…
-
0
votes1
answer1115
viewsHow can I take values from selected checkboxes and send as a List to Spring MVC?
All right? I’m having a doubt, I’m developing a system using Spring MVC and HTML 5 in View,e como renderizador estou utilizando o Thymeleaf. I’m trying to get all the selected values from a set of…
-
0
votes1
answer3383
viewsUpload and download image to project folder using Spring Boot
I am developing a web module that I need to upload an image. Save to the project folder, I am using Apache’s Commons Io: public class FileUtil { public static void saveFile(String path,…
-
0
votes1
answer498
viewsHow to test my web service done under spring boot using a specific profile?
I am developing a Restful web service using Spring Boot and I would like to know how to run unit tests with requests directed to web services without first having to raise the server manually. I…
-
0
votes1
answer1055
viewsHow to configure Lo4j in a Spring Boot project
The goal of setting up log4j is to see the logs of selects that Hibernate does on the eclipse consoles. I already made configuration of Log4j in Spring MVC, but when I went to perform the same…
-
0
votes1
answer1669
viewsHow to implement Lombok in the Spring Boot project
I’m in trouble in this class, take a look @Service public class CadastroEstiloService { @Autowired private Estilos estilos; @Transactional public void salvar(Estilo estilo) { Optional<Estilo>…
-
0
votes0
answers126
viewsNullpointer in Jasper report
I have a report done in Jasperreports that works normally in a local bank , but if I call the same report with the same database only that online it does not work anymore, simply appears the error…
-
0
votes0
answers205
viewsHow to run database call with JPA parameter
How do I call a stored procedure from the bank I have the following procedure stored in the database, and I wish to execute your call by passing the parameter projId, using JPA to pick up the…
-
0
votes2
answers121
viewsDoubt about consuming backend with Spring
Good morning, I’m looking to start a Spring project with Ionic my goal is to publish the Ionic app in the Google store and consume the backend with Springboot, I know that has to consume this…
-
0
votes1
answer303
viewsI cannot save form using spring boot
I’m starting to study spring boot now and trying to do a CRUD, but I’m having a hard time saving my form. No error message appears, neither in the console nor in the browser. I have already reviewed…
-
0
votes1
answer65
viewsec2 aws does not respond to installed application
I recently received a ec2 to upload a client application to it, the application was made in springboot and until then I had no difficulty installing the postgres and the application as a service…
-
0
votes1
answer651
viewsHow to implement an authentication service in a SOA project
I am developing a project using SOA where I have a web application made in Angular 2 and several micro services in Spring Boot, among the services there are authentication and notification services…
-
0
votes1
answer474
viewsJAVA - Google maps api recover line distance
I am developing an app for android that uses the google maps API, everything is right with the app the problem is in the webservice that deals with the information collected by the app, at a certain…
-
0
votes1
answer331
viewsDoubt in database relationship of an application using spring boot
I am developed an application that aims to register a supplier, in which this supplier is Generico (can be a cafeteria, store building material, a pharmacy... etc) in which he will provide products…