# Neo4j 4.4.12 java embedded - browser bolt connect issue

**URL:** <https://community.neo4j.com/t/neo4j-4-4-12-java-embedded-browser-bolt-connect-issue/58581>\
**Category:** Neo4j Graph Platform\
**Tags:** bolt, migrated\
**Created:** [February 3, 2023, 9:43pm UTC](https://community.neo4j.com/t/neo4j-4-4-12-java-embedded-browser-bolt-connect-issue/58581 "2023-02-03T21:43:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reubenhayes](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/reubenhayes/32/27864_2.png) [@reubenhayes](https://community.neo4j.com/u/reubenhayes)\
**Post date:** [February 3, 2023, 9:43pm UTC](https://community.neo4j.com/t/neo4j-4-4-12-java-embedded-browser-bolt-connect-issue/58581/1 "2023-02-03T21:43:15Z")

</div>

Hello,

I am making my first steps with neo4j.

I have already familiarise myself on neo4j desktop but I also want to experiment with neo4j for java applications.

So I have created a small test application using **java 11** , **Maven** and **neo4j 4.4.12** based on the guidelines of [https://neo4j.com/docs/java-reference/4.4/java-embedded/](https://neo4j.com/docs/java-reference/4.4/java-embedded/) . The application runs just fine AFAIK, making transactions and reading data from db.

My problem is that I can't visualize the db contents on neo4j browser.

Apparently I connect to the DB using the bolt connector 4.4.0. I have included these lines in my app:

```auto
DatabaseManagementService managementService = new DatabaseManagementServiceBuilder( DB_PATH ) .setConfig( BoltConnector.enabled, true ) .setConfig( BoltConnector.listen_address, new SocketAddress( "localhost", 7687 ) ) .build();

```

Then I hit "lsof -i" and I see the bolt entries

**java 6833 user 287u IPv6 84109 0t0 TCP localhost:bolt (LISTEN)**  
**java 6833 user 288u IPv6 84165 0t0 TCP localhost:bolt-\>localhost:39762 (ESTABLISHED)**

From neo4j browser, I connect using default credentials [neo4j username and empty password] and it seems to be OK. Neo4j Browser says that I am connected, however it seems unable to receive any database information such as Node Labels, Relationships, etc. when I call

CALL db.schema.visualization() OR I give command MATCH (n) RETURN n, I get the following error

Receiver class org.neo4j.fabric.bolt.BoltFabricDatabaseService does not define or inherit an implementation of the resolved method 'abstract org.neo4j.kernel.database.NamedDatabaseId getNamedDatabaseId()' of interface org.neo4j.bolt.dbapi.BoltGraphDatabaseServiceSPI.

Here I should note that I use neo4j community edition and that no other database is active atm.

So, what do I do wrong?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)\
**Post date:** [February 10, 2023, 10:44am UTC](https://community.neo4j.com/t/neo4j-4-4-12-java-embedded-browser-bolt-connect-issue/58581/2 "2023-02-10T10:44:12Z")

</div>

I think when you're starting out the embedded API is the last thing you should look at when building extensions for Neo4j.  
It's really just for advanced usages.

Please use the Java Driver instead, there is a lot of material of how to get started

GraphAcademy Course

> **[Take the Building Neo4j Applications with Java course with Neo4j GraphAcademy](https://graphacademy.neo4j.com/courses/app-java/)**
>
> Learn how to interact with Neo4j from Java using the Neo4j Java Driver

Getting started docs

> **[Using Neo4j from Java - Getting Started](https://neo4j.com/docs/getting-started/current/languages-guides/java/java-intro/)**
>
> If you are a Java developer, this guide provides an overview of options for connecting to Neo4j.

---

<div class="post-metadata">

**Author:** ![1277036759](https://avatars.discourse-cdn.com/v4/letter/1/3d9bf3/32.png) [@1277036759](https://community.neo4j.com/u/1277036759)\
**Post date:** [August 6, 2024, 3:28am UTC](https://community.neo4j.com/t/neo4j-4-4-12-java-embedded-browser-bolt-connect-issue/58581/3 "2024-08-06T03:28:34Z")

</div>

You can find a solution to it here in this article. [Enable Neo4J Browser GUI in Java with embedded Neo4J - Neo4j Graph Platform / Browser - Neo4j Online Community](https://community.neo4j.com/t/enable-neo4j-browser-gui-in-java-with-embedded-neo4j/66017)
