Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wilkinsona opened this issue Jul 8, 2019 · 6 comments

Comments

@wilkinsona
Copy link
Contributor

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)!
@wilkinsona
Copy link
Contributor Author

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.

@snicoll snicoll changed the title Boot 2.2 apps should use spring-data-rest-hal-explorer rather than spring-data-rest-hal-browser Spring Boot 2.2 apps should use spring-data-rest-hal-explorer rather than spring-data-rest-hal-browser Jul 10, 2019
@snicoll
Copy link
Contributor

snicoll commented Jan 4, 2020

@wilkinsona do you remember the version you used or if there is an update for this one?

@snicoll snicoll added status: waiting-for-feedback We need additional information before we can continue type: enhancement labels Jan 4, 2020
@wilkinsona
Copy link
Contributor Author

🤦‍♂ That would have been a good thing to note, wouldn't it. Sorry, I can't remember now.

@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Jan 11, 2020
@wilkinsona wilkinsona removed status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-feedback We need additional information before we can continue labels Jan 12, 2020
@dennishendriksen
Copy link

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>

@snicoll
Copy link
Contributor

snicoll commented Aug 13, 2020

Oops. I've overlooked this one. This has been superseded by #516 as the browser is deprecated for a while now and removed in Spring Data 2020.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants