1.0.2 builds OK on my Mac (as above) but the 1.1 build still gives me the setSQL.... failures.
On further inspection... bash-3.2$ java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode) bash-3.2$ mvn -version + exec /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/ Home/bin/java -Xmx1g -classpath /Users/ray/Development/tools/apache- maven-2.0.9/boot/classworlds-1.1.jar -Dclassworlds.conf=/Users/ray/ Development/tools/apache-maven-2.0.9/bin/m2.conf -Dmaven.home=/Users/ ray/Development/tools/apache-maven-2.0.9 org.codehaus.classworlds.Launcher '"-version"' Maven version: 2.0.9 Java version: 1.5.0_20 OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" So indeed I was building under 1.5 through a misconfiguration of Maven - I am sharing this foolishness since there may be other fools out there too ;-) Thanks for the support. Best regards Ray On Sep 19, 10:07 pm, Derek Chen-Becker <dchenbec...@gmail.com> wrote: > That particular error is saying that java.sql.PreparedStatement.setSQLXML > doesn't exist. This method was added in 1.6, so I may have unwittingly made > the build break under 1.5. Are you, by any chance, using a 1.5 JDK? > > Derek > > On Sat, Sep 19, 2009 at 10:31 AM, mond ray mond <mondraym...@gmail.com>wrote: > > > > > It's an open source project so I don't think that users that have the > > temerity to build it should be questioned ;-) > > > Like our friend runt (probably not his / her real name), I have built > > 1.0.2 from the github tag, following your instructions and get build > > problems with the SQLMapper. A small sample: > > > [WARNING] /Users/ray/NetBeansProjects/liftweb/lift-mapper/src/main/ > > scala/net/liftweb/mapper/LoggingStatementWrappers.scala:565: error: > > value setSQLXML is not a member of java.sql.PreparedStatement > > [WARNING] underlying.setSQLXML(index, x) > > [WARNING] ^ > > [WARNING] 28 errors found > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > > What must be done to build successfully? > > > Thanks > > > Ray > > > On Sep 19, 10:35 am, Timothy Perrett <timo...@getintheloop.eu> wrote: > > > runt, > > > > Why on earth are you sudo'ing for a simple build? Moreover, is there a > > > reason you want to build from source? See my instructions here: > > > >http://wiki.github.com/dpp/liftweb/how-to-getting-and-building-from-s... > > > > To be honest, if you just want to use lift then you really don't need > > > to build the source - try the following command also: > > > > mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ > > > > Try those and let me know... > > > > Cheers, Tim > > > > On Sep 19, 1:14 am, runt <run...@gmail.com> wrote: > > > > > Hi Everyone, > > > > > Ok, so I want to see what the hype is about with Lift - it sounds > > > > pretty exciting. However trying to build Lift from source is killing > > > > my buzz, I tried using the instructions from the wiki > > > > > sudo git clone git://github.com/dpp/liftweb.git > > > > cd liftweb > > > > sudo /opt/maven/bin/mvn -e install > > > > > on unbuntu 9.04, with maven 2.2.1, and git 1.6.3.3. I have a tried it > > > > a couple times and had epic fails that have ranged from compilation > > > > errors to runtime errors. > > > > > Readinghttp://wiki.liftweb.net/index.php/Source_codesaystheclone > > > > URL is from the trunk. Please correct me if I am mistaken with that - > > > > I cannot seem to find anything about Lift's release management. > > > > > My question is are stable release sources available? I would like to > > > > try my luck with one of those. > > > > > Thankyou - runt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---