App starts but localhost:8080 not opening in browser

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, postgresql, spring-boot
Domain
backend, databases

Research direction

No source files, tests, or entry points are named. Start by reviewing the application startup configuration and the logs after PGVectorStore initialization, then verify that the Spring Boot server is reachable on port 8080; done means the running app opens successfully at localhost:8080 or the missing configuration is identified.

Written by the indexing model from the issue text.

Description

Hi Marcus,

Thanks for making the code available.
I may just be missing something, but i cannot get the browser to open localhost:8080 once the app starts in my intellij.
I see these logs along others:

o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2025-05-21T22:56:07.325+02:00  INFO 82070 --- [enterprise-ai] [  restartedMain] [                                                 ] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-05-21T22:56:07.325+02:00  INFO 82070 --- [enterprise-ai] [  restartedMain] [                                                 ] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.40]
2025-05-21T22:56:07.349+02:00  INFO 82070 --- [enterprise-ai] [  restartedMain] [                                                 ] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2025-05-21T22:56:07.349+02:00  INFO 82070 --- [enterprise-ai] [  restartedMain] [                                                 ] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1092 ms

Last logs i see are:

` o.s.a.v.pgvector.PgVectorStore           : Initializing PGVectorStore schema for table: vector_store in schema: public
2025-05-21T22:56:20.593+02:00  INFO 82070 --- [enterprise-ai] [  restartedMain] [                                                 ] o.s.a.v.pgvector.PgVectorStore           : vectorTableValidationsEnabled false`

But for some reason i cannot open localhost:8080

Any idea what i could possibly be missing/misconfiguring?

Dominant language
Java
Stars
93
Forks
19
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from marcushellberg/practical-ai-in-java

All issues in marcushellberg/practical-ai-in-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.