Skip to content

Application won't compile in heroku #212

@DiogoTavaresDeAlmeidaRibeiro

Description

Hi,

I have an app that stopped to compile in Heroku. No error is provided. By disabling DISABLE_DEPENDENCY_CLASSPATH_LOG it works but I would like to understand what's happening.

remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-18 stack
remote: -----> Deleting 4 files matching .slugignore patterns.
remote: -----> Using buildpack: heroku/scala
remote: -----> Play 2.x - Java app detected
remote: -----> Installing OpenJDK 1.7... done
remote: -----> Running: sbt compile stage
remote:        [info] Loading global plugins from /tmp/scala_buildpack_build_dir/.sbt_home/plugins
remote:        [info] Compiling 1 Scala source to /tmp/scala_buildpack_build_dir/.sbt_home/plugins/target/scala-2.9.1/sbt-0.11.3/classes...
remote:        [info] Loading project definition from /tmp/scala_buildpack_build_dir/project
remote:        [info] Set current project to <PROJECT_NAME> (in build file:/tmp/scala_buildpack_build_dir/)
remote:        [info] Compiling 160 Scala sources and 7 Java sources to /tmp/scala_buildpack_build_dir/target/scala-2.9.1/classes...
remote:        [info] Compiling 151 Scala sources and 124 Java sources to /tmp/scala_buildpack_build_dir/target/scala-2.9.1/classes...
remote:        [success] Total time: 67 s, completed Oct 25, 2022 9:11:48 AM
remote:        [info] Packaging /tmp/scala_buildpack_build_dir/target/scala-2.9.1/<PROJECT_NAME>_2.9.1-1.0-SNAPSHOT.jar ...
remote:        [info] Done packaging.
remote:        [info]
remote:        [info] Your application is ready to be run in place: target/start
remote:        [info]
remote:        [success] Total time: 2 s, completed Oct 25, 2022 9:11:50 AM
remote: -----> Collecting dependency information
remote:  !     Push rejected, failed to compile Play 2.x - Java app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to <PROJECT_NAME>.
remote:

Thanks,
Diogo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions