{"id":135160,"date":"2025-07-01T13:42:04","date_gmt":"2025-07-01T10:42:04","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=135160"},"modified":"2025-07-01T13:42:06","modified_gmt":"2025-07-01T10:42:06","slug":"spring-boot-h2-console-error-explained-resolved","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html","title":{"rendered":"Spring Boot H2 Console Error Explained\/Resolved"},"content":{"rendered":"<p>The H2 database is an in-memory database widely used during Spring Boot development for quick prototyping. Spring Boot conveniently provides an H2 console that you can access via the browser at <code>\/h2-console<\/code>. However, developers often face a problem where the console doesn&#8217;t show up or throws an error when accessed. Let us delve into understanding the common Spring Boot H2 console error and how to resolve it effectively.<\/p>\n<h2><a name=\"section-1\"><\/a>1. What is H2 Database?<\/h2>\n<p><a href=\"https:\/\/www.h2database.com\" target=\"_blank\" rel=\"noopener\">H2<\/a> is a lightweight, fast, and open-source relational database engine written in Java. It is widely used for development and testing purposes due to its in-memory capabilities, which allow for quick setup without the need for external database installation. H2 can be embedded directly into Java applications or run in client-server mode. It supports standard SQL and provides a <a href=\"https:\/\/www.h2database.com\/html\/main.html\" target=\"_blank\" rel=\"noopener\">web-based console<\/a> that makes it easy to interact with the database through a browser interface. In <a href=\"https:\/\/spring.io\/projects\/spring-boot\" target=\"_blank\" rel=\"noopener\">Spring Boot<\/a> applications, H2 is often used during development for rapid prototyping and testing of persistence logic without relying on external database servers.<\/p>\n<h2><a name=\"section-2\"><\/a>2. Understanding and Simulating the Error<\/h2>\n<p>Let&#8217;s start by creating a simple Spring Boot application with the H2 database dependency.<\/p>\n<h3>2.1 Add H2 Dependency<\/h3>\n<p>To use the H2 database in your Spring Boot application, you need to add the H2 dependency to your <code>pom.xml<\/code> file. This provides support for an in-memory database along with a convenient web-based console for database interaction.<\/p>\n<pre class=\"brush:xml; wrap-lines:false;\">&lt;dependency&gt;\n    &lt;groupId&gt;com.h2database&lt;\/groupId&gt;\n    &lt;artifactId&gt;h2&lt;\/artifactId&gt;\n    &lt;scope&gt;runtime&lt;\/scope&gt;\n&lt;\/dependency&gt;\n<\/pre>\n<p>By setting the scope to <code>runtime<\/code>, H2 is only included when the application is running, which is ideal for development and testing scenarios. No external installation is needed; everything runs in memory.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h3>2.2 application.properties<\/h3>\n<p>Next, configure H2 in <code>src\/main\/resources\/application.properties<\/code>. These settings control the behavior of the H2 console and the in-memory database itself.<\/p>\n<pre class=\"brush:plain; wrap-lines:false;\">spring.h2.console.enabled=true\nspring.h2.console.path=\/h2-console\nspring.datasource.url=jdbc:h2:mem:testdb\nspring.datasource.driverClassName=org.h2.Driver\nspring.datasource.username=sa\nspring.datasource.password=\n<\/pre>\n<ul>\n<li><code>spring.h2.console.enabled=true<\/code> &#8211; Enables the H2 web console.<\/li>\n<li><code>spring.h2.console.path=\/h2-console<\/code> &#8211; Specifies the browser path to access the console.<\/li>\n<li><code>spring.datasource.url=jdbc:h2:mem:testdb<\/code> &#8211; Points to an in-memory database named <code>testdb<\/code>.<\/li>\n<li><code>spring.datasource.driverClassName=org.h2.Driver<\/code> &#8211; Sets the JDBC driver for H2.<\/li>\n<li><code>spring.datasource.username<\/code> and <code>password<\/code> &#8211; Credentials for connecting to the H2 database (defaults to <code>sa<\/code> with no password).<\/li>\n<\/ul>\n<p>Now, if you run your Spring Boot application and navigate to <a href=\"http:\/\/localhost:8080\/h2-console\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost:8080\/h2-console<\/a>, you should ideally see the H2 console login screen. However, many developers encounter the following error in the browser\u2019s console:<\/p>\n<pre class=\"brush:plain; wrap-lines:false;\">Refused to display 'http:\/\/localhost:8080\/h2-console' in a frame because it set 'X-Frame-Options' to 'DENY'.\n<\/pre>\n<p>This error indicates that the page cannot be displayed in a frame due to Spring Security\u2019s default HTTP header settings. Specifically, the <code>X-Frame-Options<\/code> header is set to <code>DENY<\/code>, preventing the H2 console from rendering properly in the browser.<\/p>\n<p>To fix this, you&#8217;ll need to adjust your Spring Security configuration to allow the H2 console to be embedded in a frame. We\u2019ll cover this solution in the next section.<\/p>\n<h3>2.3 Fixing the Error by Disabling X-Frame-Options<\/h3>\n<p>You need to customize Spring Security to allow the H2 console to load within a frame. This can be done by overriding the default Spring Security configuration. by overriding the default Spring Security configuration.<\/p>\n<pre class=\"brush:java; wrap-lines:false;\">import org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.web.SecurityFilterChain;\n\n@Configuration\npublic class SecurityConfig {\n\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        http\n            .authorizeHttpRequests(auth -&gt; auth\n                .requestMatchers(\"\/h2-console\/**\").permitAll()\n                .anyRequest().authenticated()\n            )\n            .csrf(csrf -&gt; csrf\n                .ignoringRequestMatchers(\"\/h2-console\/**\")\n            )\n            .headers(headers -&gt; headers\n                .frameOptions(frame -&gt; frame\n                    .sameOrigin()\n                )\n            );\n        return http.build();\n    }\n}\n<\/pre>\n<h3>2.3.1 Code Explanation<\/h3>\n<p>The above code defines a custom Spring Security configuration using a class annotated with <code>@Configuration<\/code>. Inside it, a <code>SecurityFilterChain<\/code> bean is created to customize HTTP security settings. The <code>authorizeHttpRequests<\/code> method allows unrestricted access to the <code>\/h2-console\/**<\/code> path while requiring authentication for all other requests. The <code>csrf<\/code> configuration disables CSRF protection specifically for the H2 console path to prevent form submission issues. Additionally, the <code>headers<\/code> section configures the <code>X-Frame-Options<\/code> header to <code>sameOrigin<\/code>, which is essential for allowing the H2 web console to load within a frame from the same domain. This setup resolves the &#8220;spring boot h2 console error&#8221; caused by frame restrictions and makes the console accessible in the browser during development.<\/p>\n<h3>2.3.2 Code Output<\/h3>\n<p>After restarting your application, visit:<\/p>\n<pre class=\"brush:plain; wrap-lines:false;\">http:\/\/localhost:8080\/h2-console<\/pre>\n<p>You should now see the H2 login screen properly rendered in your browser:<\/p>\n<ul>\n<li>JDBC URL: jdbc:h2:mem:testdb<\/li>\n<li>User Name: sa<\/li>\n<li>Password: (leave blank)<\/li>\n<\/ul>\n<p>Click &#8220;Connect&#8221; to start querying your in-memory database.<\/p>\n<h2><a name=\"section-3\"><\/a>3. Conclusion<\/h2>\n<p>If the H2 console is not showing up in your Spring Boot application, the issue is likely due to Spring Security\u2019s default frame options. You can fix it by customizing the security configuration to allow frame embedding from the same origin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The H2 database is an in-memory database widely used during Spring Boot development for quick prototyping. Spring Boot conveniently provides an H2 console that you can access via the browser at \/h2-console. However, developers often face a problem where the console doesn&#8217;t show up or throws an error when accessed. Let us delve into understanding &hellip;<\/p>\n","protected":false},"author":26931,"featured_media":121875,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1185,2794,30,854],"class_list":["post-135160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-h2","tag-h2-database","tag-spring","tag-spring-boot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spring Boot H2 Console Error Explained\/Resolved - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Boot H2 Console Error Explained\/Resolved - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-01T10:42:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-01T10:42:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yatin Batra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yatin Batra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html\"},\"author\":{\"name\":\"Yatin Batra\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/cda31a4c1965373fed40c8907dc09b8d\"},\"headline\":\"Spring Boot H2 Console Error Explained\\\/Resolved\",\"datePublished\":\"2025-07-01T10:42:04+00:00\",\"dateModified\":\"2025-07-01T10:42:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html\"},\"wordCount\":664,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/spring-boot-logo.jpg\",\"keywords\":[\"H2\",\"H2 Database\",\"Spring\",\"Spring Boot\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html\",\"name\":\"Spring Boot H2 Console Error Explained\\\/Resolved - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/spring-boot-logo.jpg\",\"datePublished\":\"2025-07-01T10:42:04+00:00\",\"dateModified\":\"2025-07-01T10:42:06+00:00\",\"description\":\"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/spring-boot-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/spring-boot-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/spring-boot-h2-console-error-explained-resolved.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Spring Boot H2 Console Error Explained\\\/Resolved\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/cda31a4c1965373fed40c8907dc09b8d\",\"name\":\"Yatin Batra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Yatin.batra_.jpg\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Yatin.batra_.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Yatin.batra_.jpg\",\"caption\":\"Yatin Batra\"},\"description\":\"An experience full-stack engineer well versed with Core Java, Spring\\\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).\",\"sameAs\":[\"https:\\\/\\\/www.javacodegeeks.com\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/yatin-batra\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spring Boot H2 Console Error Explained\/Resolved - Java Code Geeks","description":"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html","og_locale":"en_US","og_type":"article","og_title":"Spring Boot H2 Console Error Explained\/Resolved - Java Code Geeks","og_description":"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.","og_url":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2025-07-01T10:42:04+00:00","article_modified_time":"2025-07-01T10:42:06+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg","type":"image\/jpeg"}],"author":"Yatin Batra","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Yatin Batra","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html"},"author":{"name":"Yatin Batra","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/cda31a4c1965373fed40c8907dc09b8d"},"headline":"Spring Boot H2 Console Error Explained\/Resolved","datePublished":"2025-07-01T10:42:04+00:00","dateModified":"2025-07-01T10:42:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html"},"wordCount":664,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg","keywords":["H2","H2 Database","Spring","Spring Boot"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html","url":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html","name":"Spring Boot H2 Console Error Explained\/Resolved - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg","datePublished":"2025-07-01T10:42:04+00:00","dateModified":"2025-07-01T10:42:06+00:00","description":"Spring boot h2 console error: Learn how to fix common Spring Boot H2 console errors and make it accessible in your browser.","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2024\/04\/spring-boot-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/spring-boot-h2-console-error-explained-resolved.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Spring Boot H2 Console Error Explained\/Resolved"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/cda31a4c1965373fed40c8907dc09b8d","name":"Yatin Batra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/12\/Yatin.batra_.jpg","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/12\/Yatin.batra_.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/12\/Yatin.batra_.jpg","caption":"Yatin Batra"},"description":"An experience full-stack engineer well versed with Core Java, Spring\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).","sameAs":["https:\/\/www.javacodegeeks.com"],"url":"https:\/\/www.javacodegeeks.com\/author\/yatin-batra"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/135160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/26931"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=135160"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/135160\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/121875"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=135160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=135160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=135160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}