Questions tagged as 'spring-boot'

0
answers

Spring data Jpa implement generic methods

I have 3 services with these methods in common create() , deleteById() , findAll() , getById() and update() . @Service public class AutorService {create(),deleteById(),findAll(),getById(),update(), etc...} @Servi...
asked by 23.11.2018 / 00:23
1
answer

Spring boot + Angular 6 + Heroku

I created a web application where the front uses angle 6 and the back uses spring boot. My goal at the moment is to put the application online. On the local server when I run the spring boot the angle is normally called, when I put the app...
asked by 26.09.2018 / 06:25
0
answers

IllegalArgumentException while doing deploy Spring Boot application in WebLogic

I'm not able to successfully deploy my Spring boot 2-based application on a server running Oracle WebLogic 12.1.3 because of this error: weblogic.application.ModuleException: null null at weblogic.servlet.internal.WebAppModule.createMo...
asked by 30.08.2018 / 19:39
1
answer

How to control the filters of a persistent query in mongodb

I have this query in my api: @Query("{$and: [" + "{'online': ?5}, " + "{'locations.appointmentTimeRanges.weekday': ?6}, " + "{'specialties.name': ?7}, " + "{'healthInsurances.name' : ?8}"...
asked by 22.08.2018 / 14:40
1
answer

Spring Boot - Error 404 nonsense

I'm starting with Spring boot and I created a project by Spring Initializr with Spring Boot 2.0.5 and dependencies Web, PostgreSQL e DevTools , I imported the project In IntelliJ, so far, I've been following some tutorials I've se...
asked by 17.09.2018 / 22:58
2
answers

Error trying to connect to a PostgreSQL database with Hibernate and Spring Boot

I am a beginner in Spring Boot and Hibernate, I did a project in the Spring Initializr with only the dependencies Web, DevTools e PostgreSQL , but then I added the dependency spring-boot-starter-data-jpa , I was following some tuto...
asked by 19.09.2018 / 03:12
1
answer

Error while deploying with Tomcat 7

I made an app with springboot and when I squeeze it inside springboot it works normally but when I generate the war and boto to run in tomcat it gives some errors. I've tried some things I've seen on the internet but so far nothing has helped me...
asked by 19.07.2018 / 15:03
0
answers

Problem connecting to database in Google Cloud and Spring Boot

I'm using the Google Cloud Platform, but I'm having trouble connecting to the MySQL database of the platform itself with AppEngine. Here's my pom: <?xml version="1.0" encoding="UTF-8"? /> <project xmlns="http://maven.apache.org/POM...
asked by 18.07.2018 / 02:31
0
answers

Java Spring Boot - Read file inside .Jar

I'm doing a class that will read an ETL Pentaho Kettle (transformation), I put the file that the class will read in the Resources / KTR folder. But when I try to run the code as a java (java -jar) application, I get an error saying that the f...
asked by 27.08.2018 / 21:21
0
answers

bad request when sending number to Spring controller

I have a form that sends some data to a controller, when I send only text data it works fine, but when I send a given type number (and that in the controller I expect to receive a Double parameter) gives bad request error. If any field is sent e...
asked by 06.07.2018 / 11:53