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...
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...
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}")...
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...
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...
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...
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...
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],...
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...
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...