All Questions
716
questions
0
votes
1
answer
65
views
IntelliJ IDE Cannot Find javax.annotation.processing.Generated Symbol While mvn test Works Correctly
I am having a problem with my project configuration and running the program and unit test. When running with mvn test the JUnit test executes propertly, but when executing from within the IntelliJ IDE,...
1
vote
2
answers
69
views
My Spring Boot app doesn't identify my entities
I'm trying to run a Spring Boot Application, in where I'm trying to test the display of a list of cars on my Postgres database. The thing is that, when I try to run the app, is shutdowns inmediatly, ...
2
votes
1
answer
187
views
Getting error Module not found in module-info.java with Maven
I am getting module not found when compiling with maven. This is a simple project for testing some concepts, it can be found here on Github. Here are the errors:
/home/TestQuerydsl/src/main/java/...
0
votes
1
answer
237
views
How should I manage dependencies between multiple microservices (with maven)?
I'm trying to build a SpringBoot microservice-architecture for example a ShopSystem which has a dependency to a other microservice like "Customer". As the dependency-managementtool I'm using ...
0
votes
0
answers
27
views
Persistence.createEntityManagerFactory doesn't create
When a try to Persistence.createEntityManagerFactory() I receive this error log:
mar 14, 2024 4:00:03 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation
INFO: HHH000204: ...
0
votes
0
answers
26
views
ERROR: update or delete on table "tb_webapp" violates foreign key constraint on table "tb_database"
I'm trying to delete the parent student or parent course and I get this error:
update or delete on table "tb_webapp" violates foreign key constraint "fkkp7x1km86fdyb6c1jdc4u3phg" ...
0
votes
0
answers
45
views
Trying to use Spring JPA @Entity - "Entity cannot be resolved to a type" error [duplicate]
I am working a Spring Boot project, using Maven. I am trying to use JPA for database connection and operations.
When I use @Entity and other annotations on the entity classes, I get an "Entity ...
1
vote
2
answers
2k
views
Spring boot 3 + Envers
I am migrating an application to Spring Boot 3 that uses Hibernate Envers with @Audited annotations. But I cannot find Spring Data Envers after version 2.7 which go to end of support.
https://spring....
0
votes
0
answers
40
views
Maven WildFly Deployment Failure with Conflicting JNDI Bindings and Missing Dependencies
I have created a Maven project in Eclipse and created a JPA project here. I have also created the Run Confiuration. When I run the POM.xml I get the following error message and the Build Fails:
<...
0
votes
1
answer
44
views
Facing an issue while starting a springboot application for practice. Getting issue while starting the application on intellij on mac air
I am just trying to start the application on intellij but the issue is coming as above. Checked for dependencies in pom.xml file but all is fine with the log:
Log:
2023-12-24T17:22:38.411+05:30 WARN ...
0
votes
1
answer
71
views
spring boot (maven with JPA and in memory H2 database) keep getting Not a managed type"" and error creating bean with name""
i have been trying to fix this issue for the past 2 days and cannot seem to fix them
here is the error code spring gives me:
2023-12-16T23:43:15.665+01:00 WARN 22472 --- [ restartedMain] ...
0
votes
0
answers
50
views
Hql Query in Hibernate 6 JPA JDK 11 Apache Netbeans 12 Maven
When I do a query(1) as the below:
private EntityManagerFactory emf;
private EntityManager em;
emf=Persistence.createEntityManagerFactory("hibernate");
em=emf....
0
votes
0
answers
170
views
After updating spring boot version from 2.5.6 to 3.0.11 throws error sqmMultiTableInsertStrategy
I have update my application's spring boot version from 2.5.6 to 3.0.11. After updating all the required dependencies. When running the spring the spring boot application I receive the following error....
0
votes
2
answers
198
views
bean not getting created even after using @entity
I am not able to run my Spring Boot application, because there is an issue with JPA. But I am not able to find the problem and resolve it. I searched for a solution on several stack overflow topics, ...
0
votes
1
answer
109
views
JPA no persistence found [duplicate]
first and foremost I don't think this is a duplicate because I checked the folders names and also the persistence name file
I updated the pom to work with maven as well.
<dependencies>
...