Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-7-sonnet-20250219-thinking-32k· AnthropicHugging Face LMArena Human Preference 140K

Tengo un problema al compilar una aplicación java. Me da este error: [INFO] lwr_library…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Geminigemini-2.5-pro’s answer.
  1. User

    Tengo un problema al compilar una aplicación java.

    Me da este error:

    [INFO] lwr_library ........................................ SUCCESS [ 4.007 s] [INFO] library-db ......................................... SUCCESS [ 0.024 s] [INFO] library-db-interfaces .............................. SUCCESS [ 2.328 s] [INFO] library-model ...................................... SUCCESS [ 3.061 s] [INFO] library-db-core .................................... FAILURE [ 0.025 s] [INFO] library-db-impl-postgres ........................... SKIPPED

    [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.539 s [INFO] Finished at: 2025-06-06T13:02:31+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project library-db-core: Could not collect dependencies for project xxxxxxx:library-db-core:jar:1.0 [ERROR] Failed to read artifact descriptor for xxxxxxx.yyy:dbServer-core:jar:3.3-SNAPSHOT [ERROR] Caused by: The following artifacts could not be resolved: xxxxxxx:common:pom:1.2.2 (present, but unavailable): xxxxxxx:pom:1.2.2 was not found in https://ZZZZ/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus.public has elapsed or updates are forced [ERROR]

  2. Claude Assistant

    Veo que tienes un problema de resolución de dependencias en tu proyecto Maven. El error indica que no puede encontrar la dependencia xxxxxxx:common:pom:1.2.2 en el repositorio Nexus configurado.

    Para solucionarlo, puedes intentar:

    1. Forzar una actualización ignorando la caché local:
    mvn clean install -U
    
    1. Limpiar tu repositorio local de Maven (específicamente esa dependencia):
    rm -rf ~/.m2/repository/xxxxxxx/common/1.2.2
    
    1. Verificar si la dependencia realmente existe en el repositorio Nexus mencionado. Es posible que:

      • La dependencia no esté publicada
      • Tu configuración de Maven no tenga los permisos correctos
      • El servidor Nexus esté experimentando problemas
    2. Si tienes acceso al archivo JAR de la dependencia, puedes instalarlo manualmente:

    mvn install:install-file -Dfile=ruta/al/archivo.jar -DgroupId=xxxxxxx -DartifactId=common -Dversion=1.2.2 -Dpackaging=pom
    

    ¿Tienes acceso al repositorio Nexus o algún contacto con el equipo que mantiene estas dependencias?

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.