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

93
Visualizações
Spring circular dependency fails on Linux but works on Windows

Working on a Spring Boot 1.3.3 / Spring Framework 4.2.5 project, I faced a circular dependency (ServiceA autowired in ServiceB, and ServiceB autowired in ServiceA - injection is done via constructors). I solved this problem with some refactoring to delete this circular dependency.

Meanwhile, I noticed that the code (TestNG unit tests) worked on Windows (Windows 7, Java 8), and failed on our Jenkins CI (Linux).

-> Is there any reason to explain why it worked on Windows ? I'm trying to make my Windows local builds to reflect CI builds as much as possible.

//edit -> it may be an important information: I can't give an accurate number, but ~75% of Linux builds fail and ~25% don't fail (still on Linux). There is no random condition in pom.xml, but I probably miss something...

about 4 years ago · Santiago Trujillo
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