many thanks, Bob. i'm getting there with maven!

On Fri, Jan 22, 2016 at 9:46 PM, Bob Harner <bobhar...@gmail.com> wrote:

> Joe,
>
> You're using a new-enough version of Java, but something is telling the
> Java compiler to only allow JDK 1.5 features. Maybe your pom.xml has a
> <source> tag that specifies 1.5?
>
> On Fri, Jan 22, 2016 at 9:21 PM, joe schacher <dickleyjo...@gmail.com>
> wrote:
>
> > hello all,
> >
> > i'm trying to get this to compile, but i keep getting this error when i
> try
> > mvn jetty:run
> >
> > /tap5/hotelbooking/services/BasicAuthenticator.java:[87,13]
> > try-with-resources is not supported in -source 1.5
> >   (use -source 7 or higher to enable try-with-resources)
> >
> >
> > mvn -v gives me:
> >
> > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > 2015-11-10T11:41:47-05:00)
> > Maven home: /usr/apache-maven-3.3.9
> > Java version: 1.7.0_80, vendor: Oracle Corporation
> > Java home:
> > /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
> >
> > i tried java 8, but that did not help
> >
> > any ideas?
> >
> >
> > On Thu, Dec 24, 2015 at 3:02 AM, Geoff Callender <
> > geoff.callender.jumpst...@gmail.com> wrote:
> >
> > > Great work Bob (and I’m not just referring to the shorter URL).
> > >
> > > > On 24 Dec 2015, at 10:30 am, Bob Harner <bobhar...@gmail.com> wrote:
> > > >
> > > > Update: The Tapestry Hotel Booking app is now running on a new,
> shorter
> > > URL:
> > > >
> > > >    https://tapestry-app.apache.org/hotels
> > > >
> > > > The docs have been updated accordingly.
> > > >
> > > > On Fri, Nov 13, 2015 at 3:34 AM, Svein-Erik Løken <sv...@jacilla.no>
> > > wrote:
> > > >
> > > >> Superb! The best way to learn ☺
> > > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> > >
> >
>

Reply via email to