Cómo forzar a IntelliJ IDEA a recargar dependencias desde la compilación.sbt después de que cambiaron?
Estoy usando IntelliJ IDEA 13 (Community Edition) con el plugin Scala.
Mi importación inicial de un proyecto Scala existente con un build.sbt
funcionó bien. Las dependencias de la biblioteca fueron recogidas por IDEA. Las dependencias adicionales agregadas después de la importación inicial no se recogieron, aunque había marcado la opción auto-import
.
¿Cómo puedo forzar a IDEA a recargar las dependencias desde build.sbt
?
5 answers
Puede forzar a SBT a recargar los cambios: Abra la ventana de herramientas SBT (en el lado derecho del IDE) y presione el botón actualizar.
Si utiliza la función de importación automática, debe guardar el archivo para forzar la actualización automática.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-12-09 08:24:56
A partir del 7 de diciembre de 2013, el problema está resuelto. Necesita actualizar el plugin de Scala en IntelliJ IDEA (esto se aplica tanto a las ediciones community como ultimate).
Este es el enlace al problema abierto en el sitio web de la comunidad de desarrolladores de JetBrains: http://devnet.jetbrains.com/thread/451395
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-12-08 11:47:11
SI el plugin se queda 'atascado' ayuda a invalidar la caché (en el menú archivo) y reiniciar intellij.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2015-03-14 13:10:08
Esto puede deberse a una publicación rota de org.jetbrains:sbt-structure:latest.integration
que ocurrió esta noche, hace aproximadamente 4 o 5 horas. Dado que su puesto tiene 4 horas de antigüedad ...
Se puede ver la actividad de la hiedra en idea.log
(~/Library/Logs/IntelliJIdea13
o {[4] } en OSX).
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.jetbrains#sbt-structure;latest.integration: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] org.jetbrains:sbt-structure:latest.integration (sbtVersion=0.13, scalaVersion=2.10)
He abierto un billete en JetBrains.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-03-15 14:45:29
Ticket para la publicación rota de sbt.jetbrains está resuelto. La actualización del plugin de scala solucionará este problema Entrada: http://devnet.jetbrains.com/thread/451395
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-12-09 09:56:20