1.6 Install Fails

12 views
Skip to first unread message

lmorroni

unread,
Mar 11, 2011, 10:17:25 AM3/11/11
to Lifty
I wonder if anyone else has experienced this issue?

> *lifty is org.lifty lifty 1.6
[warn] module not found: com.sun.jersey#jersey-server;1.1.5
[warn] ==== local: tried
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/ivys/ivy.xml
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/jars/jersey-server.jar
[warn] ==== sbtIdeaRepo: tried
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.sun.jersey#jersey-server;1.1.5: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] module not found: com.sun.jersey#jersey-server;1.1.5
[warn] ==== local: tried
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/ivys/ivy.xml
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/jars/jersey-server.jar
[warn] ==== sbtIdeaRepo: tried
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.sun.jersey#jersey-server;1.1.5: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
sbt.ResolveException: unresolved dependency: com.sun.jersey#jersey-
server;1.1.5: not found
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:
130)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:
112)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:
110)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:85)
at sbt.IvySbt.liftedTree1$1(Ivy.scala:41)
at sbt.IvySbt.action$1(Ivy.scala:41)
at sbt.IvySbt$$anon$1.call(Ivy.scala:50)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:63)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:45)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:45)
at xsbt.boot.Locks$.apply(Locks.scala:31)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:50)
at sbt.IvySbt.withIvy(Ivy.scala:82)
at sbt.IvySbt$Module.withModule(Ivy.scala:93)
at sbt.IvyActions$.update(IvyActions.scala:110)
at sbt.processor.Retrieve$$anonfun$retrieve
$1.apply(Retrieve.scala:21)
at sbt.processor.Retrieve$$anonfun$retrieve
$1.apply(Retrieve.scala:21)
at sbt.processor.Callable$$anon$1.call(Retrieve.scala:31)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:63)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:45)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:45)
at xsbt.boot.Locks$.apply(Locks.scala:31)
at sbt.processor.Retrieve.retrieve(Retrieve.scala:21)
at sbt.processor.ManagerImpl.sbt$processor$ManagerImpl$
$retrieveProcessor(Manager.scala:61)
at sbt.processor.ManagerImpl.defineProcessor(Manager.scala:40)
at sbt.processor.Execute.apply(Execute.scala:16)
at sbt.processor.CommandRunner.apply(CommandRunner.scala:13)
at sbt.xMain$$anonfun$process$1$6.apply(Main.scala:242)
at sbt.xMain$$anonfun$process$1$6.apply(Main.scala:241)
at sbt.xMain.tryOrFail$1(Main.scala:146)
at sbt.xMain.process$1(Main.scala:241)
at sbt.xMain$Continue$1.apply(Main.scala:132)
at sbt.xMain.run$1(Main.scala:136)
at sbt.xMain.processArguments(Main.scala:266)
at sbt.xMain.startProject(Main.scala:107)
at sbt.xMain.run(Main.scala:84)
at sbt.xMain.run0$1(Main.scala:35)
at sbt.xMain.run(Main.scala:42)
at xsbt.boot.Launch$.run(Launch.scala:53)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:42)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:42)
at xsbt.boot.Launch$.launch(Launch.scala:57)
at xsbt.boot.Launch$.explicit(Launch.scala:42)
at xsbt.boot.Launch$.initialized(Launch.scala:38)
at xsbt.boot.Launch$.parsed(Launch.scala:31)
at xsbt.boot.Launch$.configured(Launch.scala:21)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Launch$.apply(Launch.scala:13)
at xsbt.boot.Boot$.runImpl(Boot.scala:24)
at xsbt.boot.Boot$.run(Boot.scala:19)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
[error] sbt.ResolveException: unresolved dependency:
com.sun.jersey#jersey-server;1.1.5: not found

Mads Hartmann

unread,
Mar 11, 2011, 10:23:18 AM3/11/11
to li...@googlegroups.com
Hi, 

Can you please type *show in the sbt console and send the output here? 

lmorroni

unread,
Mar 11, 2011, 10:31:18 AM3/11/11
to Lifty
I was able to work around this by manually putting the jersey jar in
the ivy2 path. I used jersey-server 1.5 instead of 1.1.5. Is that a
problem?
Thanks,
Larry


On Mar 11, 10:17 am, lmorroni <fizz0...@gmail.com> wrote:
> I wonder if anyone else has experienced this issue?
>
> > *lifty is org.lifty lifty 1.6
>
> [warn]  module not found: com.sun.jersey#jersey-server;1.1.5
> [warn] ==== local: tried
> [warn]   /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
> 1.1.5/ivys/ivy.xml
> [warn]   -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]   /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
> 1.1.5/jars/jersey-server.jar
> [warn] ==== sbtIdeaRepo: tried
> [warn]  http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/...
> [warn]   -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]  http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/...
> [warn] ==== public: tried
> [warn]  http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jers...
> [warn]   -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]  http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jers...
> [warn] ==== Scala-Tools Maven2 Repository: tried
> [warn]  http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1...
> [warn]   -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]  http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1...
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  :: com.sun.jersey#jersey-server;1.1.5: not found
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [info]
> [warn] :: problems summary ::
> [warn] :::: WARNINGS
> [warn]          module not found: com.sun.jersey#jersey-server;1.1.5
> [warn]  ==== local: tried
> [warn]    /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
> 1.1.5/ivys/ivy.xml
> [warn]    -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]    /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
> 1.1.5/jars/jersey-server.jar
> [warn]  ==== sbtIdeaRepo: tried
> [warn]    http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/...
> [warn]    -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]    http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/...
> [warn]  ==== public: tried
> [warn]    http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jers...
> [warn]    -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]    http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jers...
> [warn]  ==== Scala-Tools Maven2 Repository: tried
> [warn]    http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1...
> [warn]    -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
> server.jar:
> [warn]    http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1...

Mads Hartmann

unread,
Mar 11, 2011, 10:34:47 AM3/11/11
to li...@googlegroups.com
The jersey jar is not used at runtime. It's just a dependency that Scalate has. You shouldn't have to do anything manually. Could you show me the output of typing *show, I have a theory I want to try out. 

lmorroni

unread,
Mar 11, 2011, 10:40:00 AM3/11/11
to Lifty
Sorry, I fixed it before I saw your message. I also blew away
my .ivy2 folder and re-added my processors. If I run show now I get :

> *show
Processors:
idea is com.github.mpeltonen sbt-idea-processor 0.3.0
lifty is org.lifty lifty 1.6

Processor repositories:
sbtIdeaRepo at http://mpeltonen.github.com/maven/

Mads Hartmann

unread,
Mar 11, 2011, 10:44:18 AM3/11/11
to li...@googlegroups.com
Hmm damn. I was hoping you had declared a processor repository that would've created a conflict. I'll see if I can re-produce the error you posted first :) 

lmorroni

unread,
Mar 11, 2011, 10:54:46 AM3/11/11
to Lifty
Mads,
I was able to reproduce it. I cleared out the .ivy2 folder again and
started over with my processors and repos. Here's the out(*status at
the bottom)

> *lifty is org.lifty lifty 1.6
[warn] module not found: com.sun.jersey#jersey-server;1.1.5
[warn] ==== local: tried
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/ivys/ivy.xml
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/jars/jersey-server.jar
[warn] ==== sbtIdeaRepo: tried
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[info] downloading http://scala-tools.org/repo-releases/org/lifty/lifty_2.7.7/1.6/lifty_2.7.7-1.6.jar
...
[info] [SUCCESSFUL ] org.lifty#lifty_2.7.7;1.6!lifty_2.7.7.jar
(444ms)
[info] downloading http://scala-tools.org/repo-releases/org/lifty/lifty-engine_2.7.7/0.6/lifty-engine_2.7.7-0.6.jar
...
[info] [SUCCESSFUL ] org.lifty#lifty-engine_2.7.7;0.6!lifty-
engine_2.7.7.jar (466ms)
[info] downloading http://repo1.maven.org/maven2/net/liftweb/lift-common/2.0-M5/lift-common-2.0-M5.jar
...
[info] [SUCCESSFUL ] net.liftweb#lift-common;2.0-M5!lift-common.jar
(226ms)
[info] downloading
http://scala-tools.org/repo-releases/org/lifty/scalate-fork_2.7.7/1.1-PATCHED/scalate-fork_2.7.7-1.1-PATCHED.jar
...
[info] [SUCCESSFUL ] org.lifty#scalate-fork_2.7.7;1.1-PATCHED!scalate-
fork_2.7.7.jar (977ms)
[info] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar
...
[info] [SUCCESSFUL ] org.slf4j#slf4j-api;1.5.11!slf4j-api.jar (74ms)
[info] downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.14/log4j-1.2.14.jar
...
[info] [SUCCESSFUL ] log4j#log4j;1.2.14!log4j.jar (1018ms)
[info] downloading http://repo1.maven.org/maven2/opensymphony/sitemesh/2.3/sitemesh-2.3.jar
...
[info] [SUCCESSFUL ] opensymphony#sitemesh;2.3!sitemesh.jar (100ms)
[info] downloading http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
...
[info] [SUCCESSFUL ] javax.servlet#servlet-api;2.5!servlet-api.jar
(747ms)
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.sun.jersey#jersey-server;1.1.5: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] module not found: com.sun.jersey#jersey-server;1.1.5
[warn] ==== local: tried
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/ivys/ivy.xml
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] /Users/lmorroni/.ivy2/local/com.sun.jersey/jersey-server/
1.1.5/jars/jersey-server.jar
[warn] ==== sbtIdeaRepo: tried
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://mpeltonen.github.com/maven/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
[warn] -- artifact com.sun.jersey#jersey-server;1.1.5!jersey-
server.jar:
[warn] http://scala-tools.org/repo-releases/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.jar
> *show
Processors:
idea is com.github.mpeltonen sbt-idea-processor 0.3.0

Processor repositories:
sbtIdeaRepo at http://mpeltonen.github.com/maven/
>


Mads Hartmann

unread,
Mar 11, 2011, 10:56:47 AM3/11/11
to li...@googlegroups.com
Thank you :) I just got the same error. Didn't see it before because I had all the jars in my local .ivy2 repo. I'll see if I can fix the pom.xml so it doesn't depend on all of these libraries as they aren't needed at runtime

lmorroni

unread,
Mar 11, 2011, 10:57:26 AM3/11/11
to Lifty
Sorry for the multiple posts. I just removed all repos/processors and
tried adding it again but again, I got the above error.

On Mar 11, 10:44 am, Mads Hartmann <mads...@gmail.com> wrote:

Mads Hartmann

unread,
Mar 11, 2011, 11:07:47 AM3/11/11
to li...@googlegroups.com
Okay, it should be fixed now.

If you clean your ivy cache, remove the old processor and try again it should work :) 

lmorroni

unread,
Mar 11, 2011, 11:15:19 AM3/11/11
to Lifty
Indeed it does. Very nice. Thanks for all your work on this. I am
looking forward to using lifty.

Larry
Reply all
Reply to author
Forward
0 new messages