I created a small app in play 2.0-RC2, but I can't push it to heroku. The error I'm getting is:
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] play:sbt-plugin:2.0-RC2 (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn]
[error] {file:/tmp/build_lhsutbwdl8uo/project/}default-be7cb3/*:update: sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.0-RC2: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? ! Failed to build app with SBT 0.11.0
! Heroku push rejected, failed to compile Scala app
I thought heroku just doesn't support play 2.0-RC2, but apparently James Ward succeeded pushing play 2.0-RC2 app to heroku :/ (http://www.jamesward.com/2012/02/21/play-framework-2-with-scala-anorm-json-coffeescript-jquery-heroku)
It looks like they broke something with the RC2 dependencies. I just updated an RC2 project to RC3 and it ran fine on Heroku. Just update the following line in project/plugins.sbt to update to RC3:
addSbtPlugin("play" % "sbt-plugin" % "2.0-RC3")
Related
I'm trying to assemble an Android app in Bamboo server, but I'm getting this error when the assemble comand run. Note: It works perfectly in local.
Command running:
gradlew assembleDebug
And the error I get:
Caused by: org.gradle.internal.UncheckedException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\aa6199e981580f79dc21c6ea06a3575f\res\drawable-mdpi-v4\quantum_ic_skip_next_white_24.png: error: file not found.
I've checked for the resource and its use, but it's not from my project code. It belongs to an external library: play-services-cast-framework
I've been also checking other similar post, but the error can be caused for many resources reasons, so I've not found a solution.
Some solutions suggest that is a problem at some gradle plugin version, but I'm already using version 3.3.1
Any help or clue?
Thanks!
The maven repository appears to be down. Trying to fetch data from the following url results in an error:
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml
Is this temporary or does this have to do with crosswalk no longer being developed?
=> Errors executing Cordova commands:
While building Cordova app for platform Android:
Error:/Users/fullhdpixel/Projects/MyRoutes/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
> Could not resolve org.xwalk:xwalk_core_library:23+. Required by: :android:unspecified
> Could not resolve org.xwalk:xwalk_core_library:23+.
> Failed to list versions for org.xwalk:xwalk_core_library.
> Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
> Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 503 from server: Service Unavailable
There is already an open issue in their jira and another one on github. I guess it should be fixed by tomorrow (monday) as none of their maintainers will work on a weekend, be patient.
As the project maintainers stated here there will be no new releases but the source and repos will still be available for development.
Edit:
You can find a workaround until the servers are up again here.
It seems all of https://download.01.org is down!!!
An error occurred while processing your request.
Reference #30.22688343.1504522521.5cd76e0
I tried updating sbt to 0.13.15, and now whenever i try to run sbt i get the following error. I'm not behind any proxy and the .pom link mentioned in the error downloads without a problem in the browser. Before upgrade sbt 0.13.7 worked without any problem for me. I'm on windows 10.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Getting org.scala-sbt sbt 0.13.15 (this may take some time)...
:: problems summary ::
:::: WARNINGS
problem while downloading module descriptor: https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom: Read timed out (19292ms)
module not found: org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4
==== local: tried
C:\Users\Kamil\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\ivys\ivy.xml
-- artifact org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4!ivy.jar:
C:\Users\Kamil\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\jars\ivy.jar
==== local-preloaded-ivy: tried
file:/C:/Users/Kamil/.sbt/preloaded/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
==== local-preloaded: tried
file:/C:/Users/Kamil/.sbt/preloaded/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom
-- artifact org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4!ivy.jar:
file:/C:/Users/Kamil/.sbt/preloaded/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4: not found
Error during sbt execution: Error retrieving required libraries
Error: Could not retrieve sbt 0.13.15
You should only need to create a .sbt\repositories file if you're doing something special (such as using a local artifact server, such as Nexus or Artifactory). Maybe your installation went a little awry? Try creating this file (C:\Users\Kamil\.sbt\repositories) with the following contents, then retry your build.
[repositories]
local
sbt-releases-repo: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
sbt-plugins-repo: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central: http://repo1.maven.org/maven2/
When trying to install Gradle plugin in RAD 8 (JDK 1.7) using "`Help->Install New Software->http://dist.springsource.com/release/TOOzLS/gradle -> Extensions ->Gradle IDE.
The installation fails with below error. How can I fix it?
An error occurred while collecting items to be installed
session context was:(profile=bootProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.springsource.ide.eclipse.gradle.core,3.6.3.201411271013-RELEASE.
Error reading signed content:C:\Users\<name>\AppData\Local\Temp\signatureFile6349333368928430899.jar
An error occurred while processing the signatures for the file: C:\Users\<name>\AppData\Local\Temp\signatureFile6349333368928430899.jar
Problems downloading artifact: org.eclipse.update.feature,org.springsource.ide.eclipse.gradle.feature,3.6.3.201411271013-RELEASE.
Error reading signed content:C:\Users\<name>\AppData\Local\Temp\signatureFile3533168071782523038.jar
An error occurred while processing the signatures for the file: C:\Users\<name>\AppData\Local\Temp\signatureFile3533168071782523038.jar
Problems downloading artifact: osgi.bundle,org.springsource.ide.eclipse.gradle.toolingapi,3.6.3.201411271013-RELEASE.
Error reading signed content:C:\Users\<name>\AppData\Local\Temp\signatureFile6100590399698741916.jar
An error occurred while processing the signatures for the file: C:\Users\<name>\AppData\Local\Temp\signatureFile6100590399698741916.jar
Problems downloading artifact: osgi.bundle,org.springsource.ide.eclipse.gradle.ui,3.6.3.201411271013-RELEASE.
Error reading signed content:C:\Users\<name>\AppData\Local\Temp\signatureFile5626455591177320598.jar
An error occurred while processing the signatures for the file: C:\Users\<name>\AppData\Local\Temp\signatureFile5626455591177320598.jar
Problems downloading artifact: osgi.bundle,org.springsource.ide.eclipse.gradle.ui.taskview,3.6.3.201411271013-RELEASE.
Error reading signed content:C:\Users\<name>\AppData\Local\Temp\signatureFile4681470222750675595.jar
An error occurred while processing the signatures for the file: C:\Users\<name>\AppData\Local\Temp\signatureFile4681470222750675595.jar
This sounds like the same type of problem encountered here:
Problems downloading artifact - error reading signed content
The explanation there (uncheck the 'only show latest' box on the installation option) implies a version mismatch between the version of Eclipse you are using under the covers of Rational Application Developer 8, and the version required by the Gradle IDE plugin provided by Spring Source. You probably need to investigate what version of Eclipse you are using and compare it to the requirements of Gradle IDE.
I'm getting the following error when building my project:
[warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/com/thoughtworks/paranamer/paranamer/2.5.6/paranamer-2.5.6.pom: invalid sha1: expected=534448ad3c4af760c8995370c1405b9dbf88609e computed=0d33f7748ec6c8928db74f9652a2cb7567fe4044 (116ms)
[warn] module not found: com.thoughtworks.paranamer#paranamer;2.5.6
This is a transitive dependency, which I was able to download previously. I got this error when I wiped my ~/.ivy2/cache dir.
Not really sure what has changed with this depenency. When I look here, nothing has changed in 2.5.6 since 2013.
What can be the cause of this and how do I resolve it?
Author of Paranamer here. I've no idea why this happened. Could be related to https://issues.sonatype.org/browse/OSSRH-16113
Paul