Questions tagged as 'spring-boot'

1
answer

Intellij, Spring Boot and AngularJs

I'm running a project Spring Boot e AngularJs no Intellij and I'm trying to access the webapp folder by browsing (l ocalhost:8080/nomedapasta/index.html ), but it's giving error    (There was an unexpected error (type = Not Foun...
asked by 02.10.2016 / 16:11
0
answers

Error while saving @ManyToMany - Spring Boot

Good afternoon, I have a relatively simple question, but I'm a bit confused. I have the following relationship: Asyoucanseeitisarelationship@ManyToManyIneedtosaveanewgame,soIneedtosaveitinaBidirectionalway.ButwhensavingIcomeacrossthefollowin...
asked by 25.12.2018 / 20:47
2
answers

How to deserialize Json Springboot webservice

I'm trying to consume the themoviedb webservice and am encountering the following error. ----------------------- POJO ----------------------- -     package com.wsemovie.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @...
asked by 20.12.2018 / 01:04
1
answer

How to upload multiple images using spring boot

I'm developing a manga project and want to save several photos in the database. PagesController @RequestMapping(value="/pagina", method = RequestMethod.POST) public @ResponseBody ResponseEntity<PaginasEntity> cadastrarPaginas...
asked by 11.12.2017 / 14:27
1
answer

mvn test giving error 'can not find symbol'

I have a spring-boot project and I'm programming some tests using Junit, in Eclipse I ran the tests without having problems, however, in the terminal, when trying to run the mvn test command or > mvn build an error occurs in my TestUtil clas...
asked by 24.06.2018 / 05:30
1
answer

Problem in Deploying Spring Boot Application

I'm developing an application with Spring Boot and Thymeleaf and when trying to generate the .jar that should run on the server, it even generates everything right, but an error occurs when trying to access the page that is in /resouces/templ...
asked by 15.11.2016 / 00:56
1
answer

Difficulty implementing JavaMail!

My application is behaving in a very bad way, when I run the Spring Boot application it generates the logs stating that it sent the email using Scheduled, but when I check my email account I realize that it did not generate any email. Log mess...
asked by 28.09.2018 / 18:09
1
answer

Error updating package in Gradle project

In a Gradle project, there was a need to upgrade build.grade to another format which caused an error: build.gradle /* * This build file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library pro...
asked by 07.08.2018 / 22:05
1
answer

ERROR 500 - But I do not know where it is wrong, someone helps me!

@PostMapping//Create public ResponseEntity<Categoria> criar(@RequestBody Categoria categoria, HttpServletResponse response) { Categoria categoriaSalva = categoriaRepository.save(categoria); URI uri = ServletUriComponentsBuilder.from...
asked by 19.09.2018 / 22:20