Questions tagged as 'spring-boot'

1
answer

API on port 8000 and Angular on port 4200, how to solve?

My system is making a request on port 8000 aparti from localhost 4200 When a request is made by a protocol a domain on different ports of origin, which is my case the application Angular is on port 4200 the api java is on port 8000 in that case...
asked by 13.12.2017 / 12:01
1
answer

How best to relate this entity

In my application I have a user entity that relates from many to many with the entity courses (one user can enroll in many courses and one course can have multiple users) And the Entity courses relates one to many with the Entity class (one cour...
asked by 20.04.2018 / 19:09
1
answer

Spring instantiate object with @Value

In my application.properties has algumaCoisa=joao , and when I java -jar nomedo.jar , it comes null, can anyone explain to me why this happens and how do I fix it? @Component class TesteClass{ @Value("${algumaCoisa}")...
asked by 25.06.2017 / 15:11
1
answer

How to integrate spring batch + spring boot + quartz

Good morning. Currently in my project I am using spring boot and spring batch. Creating the batch was easy, even running it when starting the application with tombe embebed from the spring boot however, I need to run this batch from time to time...
asked by 27.01.2017 / 14:21
1
answer

Spring boot Autowired in JFrame

When developing a Spring Boot Desktop application, can you inject a @Repository into a JFrame class? If yes how? Any alternative? Code samples: @Repository public interface ItemRepository extends CrudRepository<Item, Lon...
asked by 15.07.2016 / 02:43
1
answer

Spring Boot configuration error: org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter

Hello I'm getting the following StackTrace below when I start Tomcat with my Web project after making the settings with Spring Boot. After I created the following classes below, I'm having this error. ERROR GRAVE: Exception sending con...
asked by 19.05.2016 / 03:32
0
answers

Learning problem with SpringBoot

Hello, I'm starting my study in SpringBoot, where I arrived in a part that I could not solve due to an exception, where I already saw in several topics how to solve, and none worked for me. I created two Person and Cell entities and did th...
asked by 27.12.2018 / 03:38
0
answers

Join with Specification

I have the following query: SELECT tab1.nom_shopping, tab1.nom_fantasia, tab1.luc, tab1.dat_vencimento, tab1.num_boleto, tab1.val_saldo_aberto, tab2.num_cpfcnpj negativado, tab2.id_pessoa_vinculo_loja [IdPessoa],...
asked by 12.09.2018 / 20:55
0
answers

External static methods not being recognized in the project

I'm importing a utility library into my main project, the library currently contains a single static method, I can import both manually and maven, but I'm not able to access the static library method. I'm using Spring boot, maven and JDK 1.8 in...
asked by 26.11.2018 / 13:02
0
answers

Spring JPA - Procedure call with sqlserver dialect

Hello, I have the following configuration in my application.properties file: spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver spring.jpa.hibernate.dialect= org.hibernate.dialect.SQLServer2012Dialect However...
asked by 09.08.2018 / 21:46