question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spring Boot 2.2 apps should use spring-data-rest-hal-explorer rather than spring-data-rest-hal-browser

See original GitHub issue

The following warning is generated at startup with the current configuration:

2019-07-08 10:58:52.310  WARN 40615 --- [           main] o.s.d.rest.webmvc.halbrowser.HalBrowser  : Spring Data REST HAL Browser is deprecated! Prefer the HAL Explorer (artifactId: spring-data-rest-hal-explorer)!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dennishendriksencommented, Mar 31, 2020

Workaround:

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-data-rest</artifactId>
	<exclusions>
		<!-- exclude deprecated module in favor of spring-data-rest-hal-explorer -->
		<exclusion>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-rest-hal-browser</artifactId>
		</exclusion>
	</exclusions>
</dependency>
<dependency>
	<groupId>org.springframework.data</groupId>
	<artifactId>spring-data-rest-hal-explorer</artifactId>
</dependency>
1reaction
wilkinsonacommented, Jul 8, 2019

We shouldn’t rush to do this. After making the recommended switch both Chrome and Safari on macOS beach ball and the browser process consumes 100% CPU.

Read more comments on GitHub >

github_iconTop Results From Across the Web

returning HAL browser HTML rather than root of API-Springboot
More information can be found in this GitHub issue : Spring Boot 2.2 apps should use spring-data-rest-hal-explorer rather than spring-data-rest-hal-browser.
Read more >
java - returning HAL browser HTML rather than root of API
Even returning data, I am getting in the JSON format than the ... Spring Boot 2.2 apps should use spring-data-rest-hal-explorer rather than ......
Read more >
Spring Boot 2.2.0
Please see this blog post for a broader discussion of the new feature and some guidance on when it should and should not...
Read more >
Dependency Versions - Spring
Group ID Artifact ID Version ch.qos.logback logback‑access 1.4.5 ch.qos.logback logback‑classic 1.4.5 ch.qos.logback logback‑core 1.4.5
Read more >
Developing with Spring Boot
In practice, you do not need to provide a version for any of these dependencies in your build configuration, as Spring Boot manages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found