We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
The log shows:
Build succeeded, running... Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/) Reapplying settings... Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/) Running task... Cancelable: false, check cycles: false Initial source changes: removed:Set() added: Set() modified: Set() Removed products: Set() Modified external sources: Set() Modified binary dependencies: Set() Initial directly invalidated sources: Set() Sources indirectly invalidated by: product: Set() binary dep: Set() external source: Set() All initially invalidated sources: Set() Copy resource mappings: (/Users/cesar/mySprayApp/src/main/resources/application.conf,/Users/cesar/mySprayApp/target/scala-2.10/classes/application.conf) Running Cli Starting sandboxed run... Waiting for threads to exit or System.exit to be called. Classpath: /Users/cesar/mySprayApp/target/scala-2.10/classes /Users/cesar/.sbt/boot/scala-2.10.2/lib/scala-library.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-actor_2.10/jars/akka-actor_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/com.typesafe/config/bundles/config-1.0.2.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-slf4j_2.10/bundles/akka-slf4j_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.0.13.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.0.13.jar /Users/cesar/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-can/jars/spray-can-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-io/jars/spray-io-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-util/jars/spray-util-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-http/jars/spray-http-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-scala_2.10/bundles/parboiled-scala_2.10-1.1.5.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-core/bundles/parboiled-core-1.1.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-routing/jars/spray-routing-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-httpx/jars/spray-httpx-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.jvnet.mimepull/mimepull/jars/mimepull-1.9.2.jar /Users/cesar/.ivy2/cache/com.chuusai/shapeless_2.10/jars/shapeless_2.10-1.2.4.jar /Users/cesar/.ivy2/cache/io.spray/spray-json_2.10/jars/spray-json_2.10-1.2.3.jar Waiting for thread run-main to exit (run-main) java.lang.UnsupportedClassVersionError: Cli : Unsupported major.minor version 51.0 Cli : Unsupported major.minor version 51.0 Thread run-main exited. Interrupting remaining threads (should be all daemons). Sandboxed run complete.. Nonzero exit code: 1 (compile:run-main) Nonzero exit code: 1 Total time: 0 s, completed Sep 2, 2013 1:54:20 PM Failed: error: exception during sbt task: run-main: Incomplete: null
The text was updated successfully, but these errors were encountered:
This means you've got some artifacts lying around which were compiled with Java 7 and you try to run them with Java 6, hard to say which exactly.
Sorry, something went wrong.
I have no problems with the template. activator 0.3.0
~|⇒ java -version java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
Do you have JDK 1.6 installed alongside 1.7? (It's not a problem, of course.) What's your $JAVA_HOME variable set to?
$JAVA_HOME
$ echo $JAVA_HOME
On my machine, it is /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home.
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
echo $JAVA_HOME /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
No branches or pull requests
Steps to reproduce:
The log shows:
Build succeeded, running...
Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/)
Reapplying settings...
Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/)
Running task... Cancelable: false, check cycles: false
Initial source changes: removed:Set() added: Set() modified: Set() Removed products: Set() Modified external sources: Set() Modified binary dependencies: Set() Initial directly invalidated sources: Set() Sources indirectly invalidated by: product: Set() binary dep: Set() external source: Set()
All initially invalidated sources: Set()
Copy resource mappings: (/Users/cesar/mySprayApp/src/main/resources/application.conf,/Users/cesar/mySprayApp/target/scala-2.10/classes/application.conf)
Running Cli
Starting sandboxed run...
Waiting for threads to exit or System.exit to be called.
Classpath: /Users/cesar/mySprayApp/target/scala-2.10/classes /Users/cesar/.sbt/boot/scala-2.10.2/lib/scala-library.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-actor_2.10/jars/akka-actor_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/com.typesafe/config/bundles/config-1.0.2.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-slf4j_2.10/bundles/akka-slf4j_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.0.13.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.0.13.jar /Users/cesar/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-can/jars/spray-can-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-io/jars/spray-io-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-util/jars/spray-util-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-http/jars/spray-http-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-scala_2.10/bundles/parboiled-scala_2.10-1.1.5.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-core/bundles/parboiled-core-1.1.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-routing/jars/spray-routing-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-httpx/jars/spray-httpx-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.jvnet.mimepull/mimepull/jars/mimepull-1.9.2.jar /Users/cesar/.ivy2/cache/com.chuusai/shapeless_2.10/jars/shapeless_2.10-1.2.4.jar /Users/cesar/.ivy2/cache/io.spray/spray-json_2.10/jars/spray-json_2.10-1.2.3.jar
Waiting for thread run-main to exit
(run-main) java.lang.UnsupportedClassVersionError: Cli : Unsupported major.minor version 51.0
Cli : Unsupported major.minor version 51.0
Thread run-main exited.
Interrupting remaining threads (should be all daemons).
Sandboxed run complete..
Nonzero exit code: 1
(compile:run-main) Nonzero exit code: 1
Total time: 0 s, completed Sep 2, 2013 1:54:20 PM
Failed: error: exception during sbt task: run-main: Incomplete: null
The text was updated successfully, but these errors were encountered: