Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Un error al agregar HAL Browser: Dependencia 'org.springframework.data:spring-data-rest-hal-browser:' no encontrada

Intento instalar Hal Browser con Spring Boot, pero aparece el siguiente error:

 Dependency 'org.springframework.data:spring-data-rest-hal-browser:' not found

Me pregunto si hay una referencia oficial de compatibilidad entre los complementos de Spring, pero de todos modos, aquí usé las últimas versiones por defecto.

Aquí está mi archivo POM:

 ... <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.example.ec</groupId> <artifactId>explorecali</artifactId> <version>0.0.1-SNAPSHOT</version> <name>explorecali</name> <description>Explore California MicroService</description> <properties> <java.version>15</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-rest</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-rest-hal-browser</artifactId> </dependency> </dependencies> ...
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Se cambió el nombre del paquete a spring-data-rest-hal-explorer . Verifiqué que es compatible con Spring Boot 2.5.6.

ejemplo experto:

 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-rest-hal-explorer</artifactId> </dependency>

ejemplo gradle:

 implementation('org.springframework.data:spring-data-rest-hal-explorer')
over 4 years ago · Santiago Trujillo Report

0

Parece un problema de incompatibilidad con la última versión de Spring, la solución es degradar Spring Boot a 2.3.5.RELEASE

 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.5.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!