Can't get javax.transaction.jta/1.0.1B?

80 views
Skip to first unread message

Adelbert Chang

unread,
Jan 18, 2013, 12:38:43 AM1/18/13
to scala-i...@googlegroups.com
Hello,

I am currently looking to use Scala IO for part of my project, but when I add the dependencies listed on the "Getting Started" page of the 0.4.1 website I get this error:

warn] [NOT FOUND  ] javax.transaction#jta;1.0.1B!jta.jar (167ms)
[warn] ==== public: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::              FAILED DOWNLOADS            ::
[warn] :: ^ see resolution messages for details  ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: javax.transaction#jta;1.0.1B!jta.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

Relevant parts of my build.sbt look like this:

scalaVersion := "2.10.0"

resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"

libraryDependencies += "com.typesafe.akka" % "akka-actor_2.10" % "2.1.0"

libraryDependencies += "com.typesafe.akka" % "akka-remote_2.10" % "2.1.0"

libraryDependencies += "com.assembla.scala-incubator" % "graph-core_2.10" % "1.6.0"

libraryDependencies += "com.github.scala-incubator.io" % "scala-io-core_2.10" % "0.4.1"

libraryDependencies += "com.github.scala-incubator.io" % "scala-io-file_2.10" % "0.4.1"


Help?

Jesse Eichar

unread,
Jan 18, 2013, 2:08:14 AM1/18/13
to scala-i...@googlegroups.com
Yes,  I am aware of this issue.  It is a dependency of Scala-arm that Josh and I intend to remove ASAP.  For now add the following dependency:

resolvers += "Java.net" at "http://download.java.net/maven/2/",

Jesse

Adelbert Chang

unread,
Jan 18, 2013, 11:15:06 AM1/18/13
to scala-i...@googlegroups.com
Hi Jesse,

I added the line and it seems to have the same problem.. my new build.sbt:

scalaVersion := "2.10.0"

resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"

libraryDependencies += "com.typesafe.akka" % "akka-actor_2.10" % "2.1.0"

libraryDependencies += "com.typesafe.akka" % "akka-remote_2.10" % "2.1.0"

libraryDependencies += "com.assembla.scala-incubator" % "graph-core_2.10" % "1.6.0"

resolvers += "Java.net" at "http://download.java.net/maven/2/"

libraryDependencies += "com.github.scala-incubator.io" % "scala-io-core_2.10" % "0.4.1"

libraryDependencies += "com.github.scala-incubator.io" % "scala-io-file_2.10" % "0.4.1"

Thank you and regards,
-Adelbert

Jesse Eichar

unread,
Jan 18, 2013, 11:48:02 AM1/18/13
to scala-i...@googlegroups.com
There are two things to look at and try.


so that you don't get the wrong scala-arm issue.

2.  See if renaming your ~/.ivy2 folder and rebuilding will help.  You probably have some bad information cached in your ivy or sbt directories.

Jesse

Adelbert Chang

unread,
Jan 18, 2013, 12:34:03 PM1/18/13
to scala-i...@googlegroups.com
Renaming my ~/.ivy2/ folder and rebuilding worked, thanks!
Reply all
Reply to author
Forward
0 new messages