Leave a Reply

18 Comments on "Spring Boot Quick Start 27 – Adding Spring Data JPA"

Notify of
avatar

Di Gao
Guest
Di Gao
19 days 10 hours ago

Who can recommend a good way to generate entity from existing table, I did not find this function in STS.

ThePhysics1234
Guest
ThePhysics1234
1 month 7 hours ago

"Failed to instantiate SLF4J LoggerFactory"

Manish Doomra
Guest
Manish Doomra
1 month 28 days ago

I noticed the package issue when I was using Spring Boot 1.2.5.Release, when i changed it to 1.4.2.Release, i did not faced that issue.

neeraj kumar
Guest
neeraj kumar
2 months 14 days ago

I created a simple spring boot starter project with web, jpa and apache derby on Spring boot 1.5.2,1.5.3 and tried on 2.0.0 also but I am getting error org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException

Fladio Armandika
Guest
Fladio Armandika
1 month 1 day ago

same here. so, do u have the solution?

Abhinay Kunchhal
Guest
Abhinay Kunchhal
2 months 27 days ago
can some please help me to create derby database as I am getting below error HHH000412: Hibernate Core {5.0.11.Final}2017-04-26 07:03:10.823 INFO 4904 — [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found2017-04-26 07:03:10.825 INFO 4904 — [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist2017-04-26 07:03:11.048 INFO 4904 — [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}2017-04-26 07:03:11.251 INFO 4904 — [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect2017-04-26 07:03:12.027 INFO 4904 — [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export2017-04-26 07:03:12.030 WARN 4904 — [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Warning Code: 10000, SQLState: 01J012017-04-26 07:03:12.030 WARN 4904… Read more »
bhanuchirutha
Guest
bhanuchirutha
3 months 14 hours ago

Hi Want to create , different Projects for Service , Repositories , and controllerI understand for controller if we select Spring Web its enough and for Repositories I select JPA , what is required for service? only web dependency is sufficient?

Norbert Kulacin
Guest
Norbert Kulacin
3 months 1 day ago

amazing tutorial, I hope you will have more tutorials about Spring Boot in near future! Well done!

Chirag Lakhani
Guest
Chirag Lakhani
4 months 15 days ago

After downloading and adding Topic package from earlier project when I am running it, i am getting error like "Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile". I have tried many things but I think in video there is nothing done explicitly. Please help me.

N T
Guest
N T
3 months 17 days ago

add the following dependency to your pom.xml <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency>

bugg bug
Guest
bugg bug
5 months 3 days ago

I dont see any topic about how to connect to external databases. Am I missing some thing.

Michael Hopkins
Guest
Michael Hopkins
5 months 11 days ago

You have fast internet and a fast machine :p

Emre Verim
Guest
Emre Verim
3 months 7 hours ago

apple rulez

wpDiscuz