Questions tagged as 'spring-boot'

1
answer

2 files properties in Spring Boot [closed]

I'm developing an API with Spring Boot, and I have 2 properties files for the development and production environments, how do I set the properties file for a particular environment?     
asked by 10.10.2017 / 18:47
1
answer

Error requesting GET, JavaScript, Angular, Spring, Java

I'm having an error opening the screen with the search results in the database. The error is in the image below. Debugging, data is coming from the database. In the other image, the Server Log appears MyNeighborhoods@Entity@Table(nam...
asked by 25.09.2017 / 15:10
1
answer

Questions Spring Boot Web App - Android

A few weeks ago I finished the project of a web system that does basic cruds, I used Java, Maven, Spring Boot, Hibernate, Bootstrap + Thymeleaf pro frontend, etc ... And I deployed to Heroku using the bank of PostgreSQL Data Now I'm starting...
asked by 21.08.2017 / 20:22
1
answer

Setting up CORS in Spring Security

I need to configure Spring Security to accept requests from external applications. I do not know how to do it, I have a project in Spring Boot and Spring Security where I only accept request from the same source. Must accept AJAX request using a...
asked by 11.08.2017 / 20:01
1
answer

how to make a controller for the index page with Spring Boot

I have a problem. I am not able to make a controller that loads the index page, and the index.html page is in: sr / main / resources / templates. Controller package ao.com.biblioteca.controller; import org.springframework.stereotype.Contro...
asked by 21.07.2017 / 12:59
1
answer

Docker Compose Link and Network

I'm using Docker Compose to upload my containers into Docker , the problem I'm having is to link between one container and another. My Docker Compose : version: '3' services: DB: image: postgres:9.6.0 ports: - "5430:5432"...
asked by 28.07.2017 / 14:27
1
answer

Spring Boot insert problems

I'm trying to insert a user into the PostgreSQL database on the Heroku web server. The user attributes in the PostgreSQL database Asyoucanseethereisacolumncalledgroups,andeverytimeI'mtryingtosubmittheformitsavesallthedataintheothercolumns...
asked by 03.07.2017 / 21:39
1
answer

Thymeleaf error templates in Heroku

I implemented my application in Heroku, just for testing ... Locally everything works fine, but in Heroku after I log in with the credentials I'm directed to the sac/index page, which is correct, but me returns:    "Whitelabel Error Pa...
asked by 30.05.2017 / 22:07
2
answers

TomCat does not activate Spring boot. How do you activate it?

I'm doing a project using Spring boot in IntelliJ + maven. Following and reading tutorials. I did the step by step but when giving Run the Tom Cat is not demonstrated, activated. I am not using any other server. Below is the code Main + Pom + Co...
asked by 13.04.2017 / 00:50
1
answer

Application with Spring Boot does not rise - org.springframework.beans.factory.UnsatisfiedDependencyException

I created the application from SPRING INITIALIZR. I made the adjustments for the first operation and configured the application.properties however I still receive the same exception: 2017-05-24 16:49:23.784 WARN 5568 --- [ main] ati...
asked by 24.05.2017 / 22:14