Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

152
Vistas
Eclipse + Maven modules gives errors

I am trying to get abstraction to work with Maven modules (https://bukkit.org/threads/support-multiple-minecraft-versions-with-abstraction-maven.115810/).

I keep getting errors like "The import eu.taigacraft.importer cannot be resolved" although I have the correct dependency in my pom.

I've tried solving them myself with some stackoverflow topics but I couln't figure it out. I have the sollowing set up:

Java Build Path -> Source: core/Plugin/src/main/java and core/Plugin/src/test/java

How can I properly create Maven modules without getting these annoying errors?

Edit:

I have found the problem. Eclipse searches for the dependencies in the main pom.xml instead of the pom.xml in the module which causes it to be unable to resolve imports. How can I fix that?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Import the root module as project in Eclipse it will index them correctly. here is how https://stackoverflow.com/a/36242422/175554

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda