I have java-8, play-2.2.6 and activator-1.3.5-minimal.
I created scala application then it's throw some exception. I can't understand.
I need any project migration, this is all the latest version.
Please help me, thanks in advance
C:\Sample\play\newsacla-app>play clean compile eclipse
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; sup
port was removed in 8.0
Getting org.scala-sbt sbt 0.13.0 ...
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
43 artifacts copied, 0 already retrieved (12440kB/1035ms)
[info] Loading project definition from C:\Sample\play\newsacla-app\project
[warn] [FAILED ] com.typesafe.play#sbt-plugin;2.2.6!sbt-plugin.jar: Connect
ion timed out: connect (22877ms)
[warn] [FAILED ] com.typesafe.play#sbt-plugin;2.2.6!sbt-plugin.jar: Connect
ion timed out: connect (22877ms)
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-pl
ugin/scala_2.10/sbt_0.13/2.2.6/jars/sbt-plugin.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#sbt-plugin;2.2.6!sbt-plugin.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: download failed: com.typesafe.play#sbt-plugin;2.2.6!sbt-pl
ugin.jar
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:104)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:51)
at sbt.IvySbt$$anon$3.call(Ivy.scala:60)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRet
ries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:
102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:60)
at sbt.IvySbt.withIvy(Ivy.scala:101)
at sbt.IvySbt.withIvy(Ivy.scala:97)
at sbt.IvySbt$Module.withModule(Ivy.scala:116)
at sbt.IvyActions$.update(IvyActions.scala:121)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala
:1144)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala
:1142)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1
165)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1
163)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1167)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1162)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:1170)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1135)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1113)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:23
7)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:23
7)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestric
tions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[error] (*:update) sbt.ResolveException: download failed: com.typesafe.play#sbt-
plugin;2.2.6!sbt-plugin.jar
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
Related
When I try to install my package on my TV, I get this error.
C:\Temp\Tizen\tools>tizen install -n e:\systeminfo.wgt -t UE55KS7005
Transferring the package...
Transferred the package: E:\SystemInfo.wgt -> /opt/usr/apps/tmp
Installing the package...
java.lang.ClassNotFoundException:
org.tizen.ncli.subcommands.tv.SecureCmdVer2_0_device
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at org.tizen.ncli.subcommands.tv.TVSdbCmdSelector.<init>(TVSdbCmdSelector.java:32)
at org.tizen.ncli.subcommands.target.InstallCLICommand.installPackage(InstallCLICommand.java:333)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:167)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:62)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.InstallCLI.execute(InstallCLI.java:70)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
java.lang.ClassNotFoundException: org.tizen.ncli.subcommands.tv.SecureCmdVer2_0_device
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at org.tizen.ncli.subcommands.tv.TVSdbCmdSelector.<init>(TVSdbCmdSelector.java:32)
at org.tizen.ncli.subcommands.target.InstallCLICommand.getTVInstallCmd(InstallCLICommand.java:415)
at org.tizen.ncli.subcommands.target.InstallCLICommand.installPackage(InstallCLICommand.java:348)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:167)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:62)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.InstallCLI.execute(InstallCLI.java:70)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
An error has occurred. See the log file tizen-sdk\tools\ide\cli.log.
Total time: 00:00:00.491
I cannot find the log it's referring to.
I have installed JRE, JDE, Tizen SDK and in Device Manager, I've hit "Permit to install applications".
The TV is a UE55KS7005
Any idea what is wrong?
Found the log file:
2018-08-27 20:56:07,424 [ERROR] Main.java(191) -
2018-08-27 20:57:20,680 [TRACE] Main.java(127) - Start running Tizen CLI Main class...
2018-08-27 20:57:20,684 [TRACE] Main.java(128) - Argument count:7
2018-08-27 20:57:20,704 [TRACE] InstallCLI.java(59) - Execute InstallCLI...
2018-08-27 20:57:21,194 [ERROR] AbstractCLI.java(93) -
java.lang.NullPointerException
at org.tizen.ncli.subcommands.tv.TVSdbCmdSelector.getCmd(TVSdbCmdSelector.java:65)
at org.tizen.ncli.subcommands.target.InstallCLICommand.getTVInstallCmd(InstallCLICommand.java:416)
at org.tizen.ncli.subcommands.target.InstallCLICommand.installPackage(InstallCLICommand.java:348)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:167)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:62)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.InstallCLI.execute(InstallCLI.java:70)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
2018-08-27 20:57:21,196 [ERROR] Main.java(191) -
I have the same problem with my Samsung Tizen 2016. When trying to install my application on the target -t UE49KS7090, I get the same Java Error with the NullPointerException.
Following log was created inside cli.log
2018-08-29 11:12:05,310 [ERROR] AbstractCLI.java(93) -
java.lang.NullPointerException
at org.tizen.ncli.subcommands.tv.TVSdbCmdSelector.getCmd(TVSdbCmdSelector.java:65)
at org.tizen.ncli.subcommands.target.InstallCLICommand.getTVInstallCmd(InstallCLICommand.java:416)
at org.tizen.ncli.subcommands.target.InstallCLICommand.installPackage(InstallCLICommand.java:348)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:167)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:62)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.InstallCLI.execute(InstallCLI.java:70)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
2018-08-29 11:12:05,312 [ERROR] Main.java(191) -
I ran sdb connect <IP> and then tizen install -n my-application.wgt -- ./dist (-t is only needed if there are multiple devices connected).
Furthermore when trying to install a package on a Tizen 2015 it raises an error with a NumberFormatException for input string unk.
Transferring the package...
Transferred the package:
/my-hidden-path -> /opt/usr/apps/tmp
Installing the package...
java.lang.NumberFormatException: For input string: "unk"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at java.lang.Float.valueOf(Float.java:416)
at org.tizen.ncli.subcommands.target.InstallCLICommand.getTVInstallCmd(InstallCLICommand.java:423)
at org.tizen.ncli.subcommands.target.InstallCLICommand.installPackage(InstallCLICommand.java:348)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:167)
at org.tizen.ncli.subcommands.target.InstallCLICommand.call(InstallCLICommand.java:62)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.InstallCLI.execute(InstallCLI.java:70)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:183)
at org.tizen.ncli.ide.shell.Main.main(Main.java:115)
Platform log view
Failed to install Tizen application.
Total time: 00:00:01.290
UPDATE:
Installing Tizen applications for 2015, 2016 and 2017 was successful using the Java Version 8 Update 181 with Tizen CLI Version 2.4.50. But the problem described above following the prerequisites here (https://developer.tizen.org/ko/development/tizen-studio/download/installing-tizen-studio/prerequisites) still persists when installing the application on 2018.
java.lang.ClassNotFoundException:
org.tizen.ncli.subcommands.tv.SecureCmdVer2_0_device
Couldn't that be related with the fact that older TVs can't receive packages from newest Tizen SDKs. See answers on this question. Try to install an older version of Tizen Studio or SDK from here http://download.tizen.org/sdk/Installer/
I have problem with Activator. I'm using Windows 10 and jdk1.8.0_65. I downloaded program activator-dist-1.3.7. I set the path and I tried to run my sample program. In cmd I wrote activator ui. On this website after starting my program receives an error:
Read from stdout:
download failed: net.contentobjects.jnotify#jnotify;0.94-play-1!jnotify.jar(src)
sbt.ResolveException: download failed: net.contentobjects.jnotify#jnotify;0.94-play-1!jnotify.jar(src)
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:291)
at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:188)
at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:165)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
at xsbt.boot.Using$.withResource(Using.scala:10)
at xsbt.boot.Using$.apply(Using.scala:9)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
at sbt.IvySbt.withIvy(Ivy.scala:127)
at sbt.IvySbt.withIvy(Ivy.scala:124)
at sbt.IvySbt$Module.withModule(Ivy.scala:155)
at sbt.IvyActions$.updateEither(IvyActions.scala:165)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1369)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1365)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1399)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1397)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1402)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1396)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:1419)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1348)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1310)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Read from stdout: (*:update) sbt.ResolveException: download failed: net.contentobjects.jnotify#jnotify;0.94-play-1!jnotify.jar(src)
(*:update) sbt.ResolveException: download failed: net.contentobjects.jnotify#jnotify;0.94-play-1!jnotify.jar(src)
Total time: 4 s, completed 2016-01-11 19:36:12
My file repositories:
[repositories]
local
activator-launcher-local: file:////${activator.local.repository-${activator.home-${user.home}/.activator}/repository}, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
activator-local: file:////${activator.local.repository-C:/Users/Kemer/activator-dist-1.3.7//repository}, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central
typesafe-releases: http://repo.typesafe.com/typesafe/releases
typesafe-ivy-releasez: http://repo.typesafe.com/typesafe/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
I've got similar issue. You have to download this file: https://maven.alfresco.com/nexus/content/repositories/thirdparty/net/contentobjects/jnotify/0.94/jnotify-0.94-sources.jar
then rename it to: jnotify-sources.jar
and put it into C:\Users...\typesafe-activator-1.3.7\activator-dist-1.3.7\repository\net.contentobjects.jnotify\jnotify\0.94-play-1\srcs (if folder srcs doesn't exist just create it)
Hope it helps ;)
i was compiling an android app with gradle in my VPS and i got this error:
Running gradle assembleRelease
on builds/2014428_12146137
Note: in order to honour the org.gradle.jvmargs and/or org.gradle.java.home values specified for this build, it is necessary to fork a new JVM.
To avoid the slowdown associated with this extra process, you might want to consider running Gradle with the daemon enabled.
Please see the user guide chapter on the daemon at http://gradle.org/docs/1.4/userguide/gradle_daemon.html.
BUILD FAILED
Total time: 3.798 secs
{ [Error: Command failed: java.lang.OutOfMemoryError: Java heap space
at java.util.ArrayList.<init>(ArrayList.java:144)
at org.codehaus.groovy.reflection.GeneratedMetaMethod$DgmMethodRecord.loadDgmInfo(GeneratedMetaMethod.java:193)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:155)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
at org.gradle.api.internal.AbstractClassGenerator.generate(AbstractClassGenerator.java:100)
at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
at org.gradle.initialization.DefaultGradleLauncherFactory.doNewInstance(DefaultGradleLauncherFactory.java:126)
at org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:99)
at org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:46)
at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:38)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:45)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:42)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ReturnResult.execute(ReturnResult.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:70)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:68)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:68)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:59)
FAILURE: Build aborted because of an internal error.
* What went wrong:
Build aborted because of an unexpected internal error. Please file an issue at: http://forums.gradle.org.
* Try:
Run with --debug option to get additional debug info.
* Exception is:
groovy.lang.MissingMethodException: No signature of method: org.gradle.util.MutableURLClassLoader.invokeMethod() is applicable for argument types: (java.lang.String, [Ljava.lang.Object;) values: [defineClass, [org.gradle.initialization.SettingsScript_Decorated, ...]]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
at org.gradle.groovy.scripts.internal.AsmBackedEmptyScriptGenerator.generateEmptyScriptClass(AsmBackedEmptyScriptGenerator.java:80)
at org.gradle.groovy.scripts.internal.AsmBackedEmptyScriptGenerator.generate(AsmBackedEmptyScriptGenerator.java:34)
at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.loadFromDir(DefaultScriptCompilationHandler.java:167)
at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:58)
at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:35)
at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:60)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:114)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:68)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:59)
at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:38)
at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:101)
at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:92)
at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:134)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:45)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:42)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ReturnResult.execute(ReturnResult.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:70)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:68)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:68)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:59)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:45)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator.runCommand(DaemonStateCoordinator.java:186)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy.doBuild(StartBuildOrRespondWithBusy.java:49)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.HandleStop.execute(HandleStop.java:36)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.CatchAndForwardDaemonFailure.execute(CatchAndForwardDaemonFailure.java:32)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:126)
at org.gradle.launcher.daemon.server.exec.DefaultDaemonCommandExecuter.executeCommand(DefaultDaemonCommandExecuter.java:48)
at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker.handleCommand(DefaultIncomingConnectionHandler.java:155)
at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker.receiveAndHandleCommand(DefaultIncomingConnectionHandler.java:128)
at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker.run(DefaultIncomingConnectionHandler.java:116)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
] killed: false, code: 1, signal: null }
I have in gradle.properties this:
org.gradle.jvmargs=-XX:MaxPermSize=1024m
and in gradlew this:
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\" \"-Xmx1024m\" \"-Xms256m\" \"-XX:MaxPermSize=1024m\""
fi
I dont know why crash..help.
EDIT: (I am root, i dont know if this affect..)
with --debug
Running gradle assembleRelease --debug
on builds/2014428_122049683
12:21:07.621 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer#2a2096d7, org.gradle.logging.internal.logback.LogbackLoggingConfigurer#418f12dc, org.gradle.logging.internal.JavaUtilLoggingConfigurer#181f4b24]
12:21:07.687 [DEBUG] [org.gradle.internal.nativeplatform.services.NativeServices] Native-platform is not available.
12:21:07.697 [DEBUG] [org.gradle.internal.nativeplatform.services.NativeServices] Native-platform terminal is not available. Continuing with fallback.
12:21:08.726 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer#2a2096d7, org.gradle.logging.internal.logback.LogbackLoggingConfigurer#418f12dc, org.gradle.logging.internal.JavaUtilLoggingConfigurer#181f4b24]
12:21:08.727 [INFO] [org.gradle.BuildLogger] Starting Build
12:21:08.728 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /root/.gradle
12:21:08.728 [DEBUG] [org.gradle.BuildLogger] Current dir: /root/ci/cifirext/builds/2014428_122049683
12:21:08.729 [DEBUG] [org.gradle.BuildLogger] Settings file: null
12:21:08.730 [DEBUG] [org.gradle.BuildLogger] Build file: null
12:21:08.752 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
12:21:08.753 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
12:21:08.754 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
12:21:08.755 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
12:21:08.947 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /root/.m2/repository
12:21:09.307 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.308 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
12:21:09.310 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryCache] Invalidating buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript) as it was not closed cleanly.
12:21:09.311 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.312 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.313 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
12:21:09.314 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryCache] Invalidating buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript) as it was not closed cleanly.
12:21:09.319 [INFO] [org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler] Compiling settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' using BuildScriptClasspathScriptTransformer.
12:21:09.567 [DEBUG] [org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler] Timing: Writing script to cache at /root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript/classes took: 0.251 secs
12:21:09.572 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.573 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.573 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
12:21:09.665 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:21:09.665 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:21:09.666 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:21:09.667 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 2.453 secs
12:21:09.670 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file '/root/ci/cifirext/builds/2014428_122049683/settings.gradle' (/root/.gradle/caches/1.4/scripts/settings_1lm5jovqikr5c3t58051j823ue/SettingsScript/buildscript).
12:21:09.700 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer#2a2096d7, org.gradle.logging.internal.logback.LogbackLoggingConfigurer#418f12dc, org.gradle.logging.internal.JavaUtilLoggingConfigurer#181f4b24]
{ [Error: Command failed: 12:21:08.181 [ERROR] [system.err] java.lang.OutOfMemoryError: Java heap space
12:21:08.183 [ERROR] [system.err] at java.util.ArrayList.<init>(ArrayList.java:144)
12:21:08.184 [ERROR] [system.err] at org.codehaus.groovy.reflection.GeneratedMetaMethod$DgmMethodRecord.loadDgmInfo(GeneratedMetaMethod.java:193)
12:21:08.184 [ERROR] [system.err] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:155)
12:21:08.186 [ERROR] [system.err] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
12:21:08.186 [ERROR] [system.err] at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
12:21:08.187 [ERROR] [system.err] at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
12:21:08.187 [ERROR] [system.err] at org.gradle.api.internal.AbstractClassGenerator.generate(AbstractClassGenerator.java:100)
12:21:08.188 [ERROR] [system.err] at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
12:21:08.188 [ERROR] [system.err] at org.gradle.initialization.DefaultGradleLauncherFactory.doNewInstance(DefaultGradleLauncherFactory.java:126)
12:21:08.189 [ERROR] [system.err] at org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:99)
12:21:08.189 [ERROR] [system.err] at org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:46)
12:21:08.190 [ERROR] [system.err] at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:38)
12:21:08.190 [ERROR] [system.err] at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
12:21:08.191 [ERROR] [system.err] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
12:21:08.192 [ERROR] [system.err] at org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
12:21:08.192 [ERROR] [system.err] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
12:21:08.193 [ERROR] [system.err] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
12:21:08.193 [ERROR] [system.err] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
12:21:08.194 [ERROR] [system.err] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
12:21:08.194 [ERROR] [system.err] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
12:21:08.195 [ERROR] [system.err] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
12:21:08.195 [ERROR] [system.err] at org.gradle.launcher.Main.doAction(Main.java:48)
12:21:08.196 [ERROR] [system.err] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
12:21:08.196 [ERROR] [system.err] at org.gradle.launcher.Main.main(Main.java:39)
12:21:08.196 [ERROR] [system.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12:21:08.197 [ERROR] [system.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
12:21:08.198 [ERROR] [system.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12:21:08.198 [ERROR] [system.err] at java.lang.reflect.Method.invoke(Method.java:606)
12:21:08.199 [ERROR] [system.err] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
12:21:08.199 [ERROR] [system.err] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
12:21:08.200 [ERROR] [system.err] at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
12:21:09.659 [ERROR] [org.gradle.BuildExceptionReporter]
12:21:09.662 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build aborted because of an internal error.
12:21:09.662 [ERROR] [org.gradle.BuildExceptionReporter]
12:21:09.663 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:21:09.663 [ERROR] [org.gradle.BuildExceptionReporter] Build aborted because of an unexpected internal error. Please file an issue at: http://forums.gradle.org.
] killed: false, code: 1, signal: null }
I was using a older version of debian repositories, i updated the version to the last(1.11 at this moment) and now works fine..
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744337 say that error in libjarjar-java.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745815 - it fixed. Just update packages.
I am trying to set up a project using Hibernate and JPA.
This is build.sbt:
name := "todolist"
version := "1.0-SNAPSHOT"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
"org.hibernate" %% "hibernate-entitymanager" % "4.3.0.Final"
)
resolvers += "JBoss Repository" at "https://repository.jboss.org/nexus/content/repositories/releases/"
play.Project.playJavaSettings
I have added the JBoss Repository so the relevant jars could be found. But it didn't help, either.
This is the output I get from play run
[info] Resolving org.hibernate#hibernate-entitymanager_2.10;4.3.0.Final ...
[warn] module not found: org.hibernate#hibernate-entitymanager_2.10;4.3.0.Final
[warn] ==== local: tried
[warn] /home/benny/Development/JavaLibraries/play-2.2.1/repository/local/org.hibernate/hibernate-entitymanager_2.10/4.3.0.Final/ivys/ivy.xml
[warn] ==== Maven2 Local: tried
[warn] file:/home/benny/.m2/repository/org/hibernate/hibernate-entitymanager_2.10/4.3.0.Final/hibernate-entitymanager_2.10-4.3.0.Final.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager_2.10/4.3.0.Final/hibernate-entitymanager_2.10-4.3.0.Final.pom
[warn] ==== JBoss Repository: tried
[warn] https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager_2.10/4.3.0.Final/hibernate-entitymanager_2.10-4.3.0.Final.pom
[warn] ==== Typesafe Releases Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/hibernate/hibernate-entitymanager_2.10/4.3.0.Final/hibernate-entitymanager_2.10-4.3.0.Final.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.hibernate#hibernate-entitymanager_2.10;4.3.0.Final: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.hibernate#hibernate-entitymanager_2.10;4.3.0.Final: not found
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:104)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:51)
at sbt.IvySbt$$anon$3.call(Ivy.scala:60)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:60)
at sbt.IvySbt.withIvy(Ivy.scala:101)
at sbt.IvySbt.withIvy(Ivy.scala:97)
at sbt.IvySbt$Module.withModule(Ivy.scala:116)
at sbt.IvyActions$.update(IvyActions.scala:121)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1144)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1142)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1165)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1163)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1167)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1162)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:1170)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1135)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1113)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[error] (*:update) sbt.ResolveException: unresolved dependency: org.hibernate#hibernate-entitymanager_2.10;4.3.0.Final: not found
It does search JBoss Repository, but it seems to be looking for hibernate-entitymanager_2.10? Why is that? That 2.10 suffix is not specified anywhere.
OK, I just found out that when you use %% it adds the scala version to the artifact id.
Fixed by changing it to
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
"org.hibernate" % "hibernate-entitymanager" % "4.3.0.Final"
)
I was using Maven 2.2.1 - successfully downloaded repository on my systems when I had Java 1.6. BUT when I moved to Java 1.7, I am not able to download it again.
NOW I have rollback to java 1.6 but still I am not able to download maven. [NOTE : I HAVE ALSO TRIED IT WITH MAVEN 3.0.3 AND FACING SAME ISSUE]
I am getting following Build Error
System has set JAVA_HOME of Java Home directory
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version': Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
org.apache.maven.shared.osgi.Maven2OsgiConverter
[INFO] ----------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Internal error in the plugin manager executing goal 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version': Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:698)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 62)
at org.apache.maven.cli.compat.CompatibleMain.main(Co mpatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
Caused by: org.apache.maven.plugin.PluginManagerException: Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
at org.apache.maven.plugin.DefaultPluginManager.getCo nfiguredMojo(DefaultPluginManager.java:679)
at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:468)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.jav a:2291)
at java.lang.Class.getDeclaredField(Class.java:1880)
at hidden.org.codehaus.plexus.util.ReflectionUtils.ge tFieldByNameIncludingSuperclasses(ReflectionUtils. java:47)
at org.codehaus.plexus.component.composition.FieldCom ponentComposer.getFieldByName(FieldComponentCompos er.java:212)
at org.codehaus.plexus.component.composition.FieldCom ponentComposer.findMatchingField(FieldComponentCom poser.java:171)
at org.codehaus.plexus.component.composition.FieldCom ponentComposer.assembleComponent(FieldComponentCom poser.java:62)
at org.codehaus.plexus.component.composition.DefaultC omponentComposerManager.assembleComponent(DefaultC omponentComposerManager.java:68)
at org.codehaus.plexus.DefaultPlexusContainer.compose Component(DefaultPlexusContainer.java:1486)
at org.codehaus.plexus.personality.plexus.lifecycle.p hase.CompositionPhase.execute(CompositionPhase.jav a:29)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHan dler.start(AbstractLifecycleHandler.java:101)
at org.codehaus.plexus.component.manager.AbstractComp onentManager.startComponentLifecycle(AbstractCompo nentManager.java:105)
at org.codehaus.plexus.component.manager.AbstractComp onentManager.createComponentInstance(AbstractCompo nentManager.java:95)
at org.codehaus.plexus.component.manager.PerLookupCom ponentManager.getComponent(PerLookupComponentManag er.java:48)
at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:331)
at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:440)
at org.apache.maven.plugin.DefaultPluginManager.getCo nfiguredMojo(DefaultPluginManager.java:652)
... 19 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.shared.osgi.Maven2OsgiConverter
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at org.codehaus.classworlds.RealmClassLoader.loadClas sDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadCla ss(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadCla ss(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClas s(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
... 36 more
[INFO] ----------------------------------------------------------------------
[INFO] Total time: 29 minutes 36 seconds
[INFO] Finished at: Fri Dec 21 13:07:49 IST 2012
[INFO] Final Memory: 13M/23M
[INFO] ----------------------------------------------------------------------
Can anybody please let me know what settings are changed that I need to update ?
Thanks