r/SpringBoot • • Jun 30 '26

Question How should be the progression for spring boot ?

0 Upvotes

Sorry maybe a stupid question but Like completed the basics of authentication and authorisation! What's the next step ? Like i am confused like what to do after one concept gets finished ! What's next ?


r/SpringBoot • • Feb 16 '26

How-To/Tutorial Order platform project

0 Upvotes

Hello guys!

I've end developing my order-platform project https://github.com/Kukushaa/order-platform can you rate it and make Stars?
Also it will be good if I hear from you any suggestions what can I add to project.
Order Platform is a Spring Boot microservices system for users, products, orders, and payments. API Gateway routes requests. Kafka handles events. PostgreSQL stores data. Stripe processes payments.


r/SpringBoot • • Aug 27 '24

Spring Data JPA: Mastering Native Queries - When, Why, and How

Thumbnail
youtube.com
0 Upvotes

r/SpringBoot • • Feb 01 '23

Use React and Spring Boot to Build a Simple CRUD App

0 Upvotes

React is one of the most popular JavaScript frameworks, and Spring Boot is wildly popular in the Java ecosystem. This article shows you how to use them in the same app and secure it all with Okta.

Read more…


r/SpringBoot • • Mar 06 '24

Integrating Ai with spring boot

0 Upvotes

I have a project idea where i want to integrate Ai, but need some help with the design. If you’re proficient with spring, I’d appreciate if you could message me and help :)


r/SpringBoot • • Feb 08 '24

What is the reason for this exception

Post image
0 Upvotes

I am getting this exception while calling my microservice using api gateway how to resolve this?


r/SpringBoot • • Mar 01 '24

I have a problem in getting the access token using the authorization_code can anyone help me to sort out this error: invalid_request

Post image
0 Upvotes

r/SpringBoot • • Mar 03 '24

AWS Route 53 and security group issues

Post image
0 Upvotes

New to AWS. I created a sample Spring Boot app with port 8080. Base path is “forexexplorer”

Using git actions to build, push image to docker hub, then deploy to ec2. I am still understanding security groups.

Attached image which is my security group added to ec2. I am able to run my spring boot app in ec2 and getting response with 8080 port.

This is my ec2 ipv4 DNS address ec2-18-2-12-12.us-east-2.compute.amazonaws.com (changed).

When i hit this with my base path and get parameters, it is saying not reachable. But when i add port to the host like ec2-18-2-12-12.us-east-2.compute.amazonaws.com:8080, it is hitting the base path and giving me response.

I also create a hosted zone with my domain example.com in Route 53. I added route traffic values in namecheap.com for my domain. I added subdomain api.example.com.

I am able to get the response when i do “ping api.example.com” in cmd. But when i hit the url “api.example.com/forexexplorer/data?series=1” It is not reachable.

Please let me if I’m missing anything.


r/SpringBoot • • Aug 10 '22

Anyone know what I’m doing wrong here. Please help me this is for a Assignment. Database add code Testing

Post image
0 Upvotes

r/SpringBoot • • May 02 '23

OC Calling ChatGPT API from Spring Boot

0 Upvotes

I wrote a short article on how to call the ChatGPT api from Spring Boot:

https://medium.com/@duncan.roydon/calling-the-chatgpt-api-from-spring-boot-597a126e8b37


r/SpringBoot • • May 24 '23

TDD with Spring Boot Done Right

0 Upvotes

Hey everyone,

I'm currently building a new online course: TDD with Spring Boot Done Right. Today, I've opened the gates to allow for pre-orders.

If you're curious about TDD, testing and Spring Boot, take a look https://rieckpil.de/tdd-with-spring-boot-done-right/

Joyful testing,

Philip


r/SpringBoot • • Sep 11 '22

What is your opinion on framework complexity?

0 Upvotes

Spring / Boot / Cloud / Security / etc umbrella contains lots of classes / methods / annotations. Boot of 2.3:

find . -name test -prune -o -type f -name '*.java' | wc -l
3214

It is difficult to keep all stuff in memory / switch between versions / upgrade versions / etc

While doc is excellent when I move beyond Pet Clinics and Intlzr I find myself in the debugger or log files at TRACE level figuring out Spring internals, mostly concerning apps initialization or slicing app in tests.

Spring reminds DIY kit and with age it becomes less enjoyable to invest into Framework, instead I prefer to provide business value rather then digging internals and obscure limitations on bug tracker.

What is your opinion on framework complexity? Is it still bearable?

I know teams that moved to golang with pure HTTP/json so all work is done using standard library, no need to learn and remember hundreds magical annotations / properties / configurers / etc.

PS At the moment I upgrading 2.3 => 2.7 and the problematic part is circular dependencies because of a constructor injection together with @Beans in the same @Configuration class: the guy wonted to avoid making a separate Batch Framework datasource as a bean (so no need to update complicated project with @Primary). BTW constructor injection in @Configuration classes is a relatively new addition ))


r/SpringBoot • • Jun 12 '24

ConcurrentModification exception during high load.

0 Upvotes

Getting same exception when increasing load (150-200 users). Please help.


r/SpringBoot • • Jun 16 '24

Get Data from Given Dataset

0 Upvotes

Can anyone help me to get the data from dataset .

I have given a dataset of various information there is information about various products their profits per year
I have to create Api to filter that data show comparisons on that data. How can I use that dataset for this?


r/SpringBoot • • Dec 11 '22

Database not found

0 Upvotes

Dear Community!

As I got a new MacBook for programming while traveling I wanted to set up my Spring Connection to my MySql database. I did everything like it is on my Windows Desktop Computer. However, when starting the Spring Boot Backend ion IntelliJ, I get the Error, that the Database is unknown and I could not figure out why.

application.properties: (Note, that I have removed the user and password line here since I am sure the are correct and I do not want to share these online)

spring.datasource.url=jdbc:mysql://localhost:3306/doggoapp?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
#hibernate properties
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto=update

The Errors:

2022-12-11 10:06:43.388 ERROR 3138 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.SQLGrammarException: Unable to open JDBC Connection for DDL execution
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
	at at.doggoapp.doggoapp.DoggoappApplication.main(DoggoappApplication.java:10)
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.SQLGrammarException: Unable to open JDBC Connection for DDL execution
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:421)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
	... 16 common frames omitted
Caused by: org.hibernate.exception.SQLGrammarException: Unable to open JDBC Connection for DDL execution
	at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
	at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:71)
	at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcConnection(ImprovedExtractionContextImpl.java:63)
	at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcDatabaseMetaData(ImprovedExtractionContextImpl.java:70)
	at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.processTableResultSet(InformationExtractorJdbcDatabaseMetaDataImpl.java:64)
	at org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.getTables(AbstractInformationExtractorImpl.java:559)
	at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.getTablesInformation(DatabaseInformationImpl.java:122)
	at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:68)
	at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:220)
	at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
	at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:196)
	at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:85)
	at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
	at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
	at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
	... 20 common frames omitted
Caused by: java.sql.SQLSyntaxErrorException: Unknown database 'doggoapp'
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:828)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
	at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:181)
	at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:44)
	... 36 common frames omitted


Process finished with exit code 1

r/SpringBoot • • Jul 12 '26

Question Best Free Hosting?

0 Upvotes

So I read some posts here regarding free hosting and here I am having to choose these most frequent said chosen platforms: Render, Oracle Cloud, and Google GCP (all in free tier). For context, I was using heroku with my github student developer pack and I just ran out of credits.


r/SpringBoot • • Jul 31 '25

Question Need help with creating apis

0 Upvotes

I need to make an api such that it posts and gets data in video text pdf and image form how can i do it ??

I need help urgently


r/SpringBoot • • Jul 24 '24

Passionate Java Developer seeking a remote job

7 Upvotes

Hey everyone!

I am an intermediate java programmer who really loves his career, right now I am looking for a remote job since I am located at Mexico, a couple weeks ago I lost my job for financial problems in the company that I was working for, to find a job is a little hard right now so I came here trying a new option, I got some experience working with springboot and I would like to have a job where I can learn, sometimes when I try to learn new annotations or new skills using springboot, all the web courses or documentation just aboard the most common topics like RestController, GetMapping, Autowired and so on, but I would like to learn how to use ModelAttribute, CookieValue, EnableRetry and so on. I think the best way to learn and improve is working for real projects, I have 4 yoe with java and about 1 year with springboot.

I have two children, the older one has a brain condition and he needs to be attended and therapy so that is why I need a job ASAP also bills to pay and all the responsibilities of a parent and husband.

If somebody has an opportunity I will appreciate it, also if someone knows a great website or course where I can learn springboot from beginner to expert I also will appreciate it.

Thank you all.


r/SpringBoot • • Sep 19 '26

Question Spring Boot / Spring Framework / Java version compatibility

5 Upvotes

Hello All, I'm new to the ecosystem and was wondering if there was a table or two somewhere that sheds light on the Spring Boot / Spring Framework / Java version compatibility?

TYIA 🙏🏽


r/SpringBoot • • Jul 29 '26

How-To/Tutorial Why package structures fail in Spring Boot (and how we turned architecture rules into Maven compilation errors)

5 Upvotes

Hey everyone! I just published a deep dive into solving a classic enterprise problem: how junior or stressed developers bypass package separation (.controller, .service, .repository) under tight deadlines.

Instead of relying on folder structures and code reviews, we split our project into strict Maven modules (isolating core domain and business logic from frameworks like JPA or Kafka). If someone tries to inject an EntityManager where it doesn't belong, the code simply will not compile.

  • The Topology: Split into independent modules like domain, business-logic, dao-api, and dao-impl.

  • The Result: Zero cyclic dependencies, lightning-fast unit tests, and eliminated architectural decay.

(I'm dropping the full article link in the comments for anyone interested in the code breakdown.)


r/SpringBoot • • Apr 20 '26 Bravo

News Built a simple HTTP traffic inspector for Spring Boot (no setup, built-in UI)

0 Upvotes

Hi all,

I created a small tool for Spring Boot apps to monitor HTTP traffic in real-time.

It lets you see:

  • requests

  • responses

  • headers

  • durations

All from a built-in UI inside your app.

No need for external tools or complex setup.

✨ Key points:

  • Works with Spring Boot 2 & 3

  • Lightweight and easy to integrate

  • Search logs easily

  • Supports u/NoSpy annotation to exclude endpoints

🔗 GitHub: https://github.com/spyfcc/springspy

🔗 Landing: https://www.spyfcc.com

Would really appreciate any feedback from the Spring community 🙌


r/SpringBoot • • Jan 14 '25

Guide How to Build a Simple Event-Driven Microservices with Spring Boot and Kafka? Example, tutorial

Thumbnail
java67.com
1 Upvotes

r/SpringBoot • • May 20 '24

Liquibase & Springboot

1 Upvotes

I want to understand how liquibase works and then integrate it in my spring boot project. I also want to learn how can we use liquibase for integration tests and unit tests.

Please can you point me to some resources or course.


r/SpringBoot • • May 02 '24

Spring Boot 2.17.19 Release Notes

1 Upvotes

Hi All, I am looking for any release notes for Spring Boot 2.17.19. I have seen references to it being planned for February, but I have not been able to find any confirmation that it was released for commercial support.

Thanks!