Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

154
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda