[Lift] Re: Can't get applications to run in Jetty

2009-04-22 Thread Julian Howarth
Thanks David, that fixed it - all up and running correctly now. I've also switched back to maven 2.1.0 and that works correctly too. Julian On Apr 21, 11:36 pm, David Pollak feeder.of.the.be...@gmail.com wrote: One final thing... try: rm -rf ~/.m2/repositories There may be a corrupted JAR

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Julian Howarth
On Apr 21, 12:56 pm, Timothy Perrett timo...@getintheloop.eu wrote: Can you try with maven 2.0.9... I've now switched to maven 2.0.9 but the error is exactly the same as before. I removed the directories and reran the mvn archetype:generate command. This was successful again. It was the jetty

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread David Bernard
hi, Can you run (and report the output) : mvn compile -Dmaven.scala.displayCmd=true /davidB On Tue, Apr 21, 2009 at 14:22, Julian Howarth howar...@freenet.co.ukwrote: On Apr 21, 12:56 pm, Timothy Perrett timo...@getintheloop.eu wrote: Can you try with maven 2.0.9... I've now switched to

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Timothy Perrett
Can you try with maven 2.0.9... Also, I think your java version would be 6 for the JRE, but 1.5.0 for the JDK that ships with OSX? Cheers, Tim On 21/04/2009 11:29, Julian Howarth howar...@freenet.co.uk wrote: I'm getting started with Lift and am trying to run the examples from the

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Julian Howarth
Ha! Upgrading the JDK is easier said than done. 1.6.0_07 *is* the latest version as far as macs are concerned. Is there a way of specifying a version of scala that is compatible with that JDK version? On Apr 21, 1:54 pm, David Bernard david.bernard...@gmail.com wrote: Thanks, I resquest it,

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Timothy Perrett
Im working on Mac and have no problems at all: :~ timperrett$ $JAVA_HOME -bash: /Library/Java/Home: is a directory :~ timperrett$ java -version java version 1.5.0_16 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Julian Howarth
I've switched to my Linux box with maven 2.1.0 and Java 1.6.0_13, followed the same steps and it all works as intended. So whatever is wrong is something to do with the particular setup on my mac. Julian On Apr 21, 2:45 pm, Timothy Perrett timo...@getintheloop.eu wrote: Im working on Mac and

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread David Pollak
It looks like you were editing some of the files with Eclipse which uses a different version of Scala than does Lift. If you try mvn clean jetty:run on your Mac, all should be good. On Tue, Apr 21, 2009 at 8:08 AM, Julian Howarth howar...@freenet.co.ukwrote: I've switched to my Linux box with

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread Julian Howarth
On Apr 21, 6:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: It looks like you were editing some of the files with Eclipse which uses a different version of Scala than does Lift.   I haven't edited any of the files - all I've run are the 2 maven commands from an initially empty

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread David Pollak
One final thing... try: rm -rf ~/.m2/repositories There may be a corrupted JAR file in your Maven repository. On Tue, Apr 21, 2009 at 3:13 PM, Julian Howarth howar...@freenet.co.ukwrote: On Apr 21, 6:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: It looks like you were editing