Lift version accessible to newbies, 06 OCT 2021

86 views
Skip to first unread message

Baskaran S

unread,
Oct 6, 2021, 5:13:43 PM10/6/21
to Lift
Hello,

What is the latest version that is good for newbies?

So far, Lift 3.3.0 is working fine with Scala 2.12.6.
I am currently using Scala 2.13.x in other projects, 
so I tried Lift 3.5.0 with Scala 2.13.6, 
but sbt gave up on 4 modules (see the trail below).

What version should I use?
How to fix the download errors?

======[BEGIN TRAIL]======
$ sbt new lift/basic-app.g8
[info] welcome to sbt 1.4.9 (Private Build Java 1.8.0_292)
...
lift_version [3.3.0]: 3.5.0
scala_version [2.12.6]: 2.13.6
...
sbt:Lift 3 starter template> clean
...
sbt:Lift 3 starter template> compile
...
[error] Error downloading net.liftmodules:lift-jquery-module_3.5_2.13:2.10
...
...
[error] Error downloading net.liftweb:lift-mapper_2.13:3.5.0
...
[error] Error downloading org.specs2:specs2-core_2.13:3.9.4
...
[error] Error downloading net.liftweb:lift-webkit_2.13:3.5.0
...
======[END TRAIL]======

thank you
S. Baskaran

Henrik Härkönen

unread,
Oct 7, 2021, 1:32:15 PM10/7/21
to Lift
Hi!

You need to drop the lift-jquery-module, that hasn't been updated. Try a new project with "sbt new lift/basic-app.g8" and then put lift version 3.5.0-RC1 (I didn't find the final release yet at least), and specs2-core you can use version 4.12.12. That should get it going.

-Henrik

Henrik Härkönen

unread,
Oct 7, 2021, 1:36:08 PM10/7/21
to Lift
Oh and remove JqueryModule references from the boot.scala, otherwise it won't compile. You can then load the latest jquery module by hand, placing it in the page template header, see jquery CDN address from their page.. That's how I've been doing it lately.

I guess some update to the g8 template would be good to do again...

-Henrik

Baskaran S

unread,
Oct 8, 2021, 7:32:05 AM10/8/21
to Lift
Hi Henrik,

Thank you. Like you suggested, the project setup with Lift 3.5.0-RC1 and specs2-core 4.12.12 and without jQuery module is working, the homepage is loading and was able to create a new user id and logout and login.

Will try manual setup of jQuery now.

At present, the project setup with Lift 3.5.0 is failing with 2 download errors. So sticking with 3.5.0-RC1.

thanks and regards
S. Baskaran

Baskaran S

unread,
Oct 8, 2021, 7:32:05 AM10/8/21
to Lift
Searched github for release a version and found "release/3.5.0" and supplied it to "sbt new lift/basic-app.g8".
Is it fine to do so?

release 3.5.0 2021-10-08 12-14-41 with pinters.png

-Baskaran

Matt Farmer

unread,
Oct 8, 2021, 10:59:59 AM10/8/21
to Lift
The reason you saw failures is because we haven't released the final build of 3.5.0. I'm working on that today. 

Baila Hie

unread,
Mar 23, 2022, 10:41:57 AM3/23/22
to Lift
That would certainly be appreciated! I am now going through the same process, and g8 template is still in the old deprecated state.

Baila Hie

unread,
Mar 23, 2022, 10:54:32 AM3/23/22
to Lift
If you want, I can send you a pull request... I had to make the changes any way - and have it running now. Just let me know. I also removed a Scala 2.13 deprecation warning from the g8 template.
Reply all
Reply to author
Forward
0 new messages