No problem, just glad to help! 2009/3/12 Chris Laux <ctl...@googlemail.com>: > Oh, I didn't consider javac's ability to simulate a different version, > how naive :) Works fine now, thanks a lot for your help. > > On Thu, Mar 12, 2009 at 11:46 AM, Mattias Persson > <matt...@neotechnology.com> wrote: >> Yep, I though as much, but I know that maven, at least a while ago set >> its projects to compile for 1.4 by default... even if you had 1.6 >> installed. >> >> You can configure it to go for a specific version with: >> >> <build> >> <plugins> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-compiler-plugin</artifactId> >> <configuration> >> <source>1.6</source> >> <target>1.6</target> >> </configuration> >> </plugin> >> </plugins> >> </build> >> >> >> 2009/3/12 Chris Laux <ctl...@googlemail.com>: >>> On Thu, Mar 12, 2009 at 8:43 AM, Mattias Persson >>> <matt...@neotechnology.com> wrote: >>>> It might just be that you're using java compiler version 1.4 or >>>> something like that. You see, that method has a vararg in the end >>>> which was introduced in java 1.5. So try setting you maven project (or >>>> what you might use) to compile for java 1.5 or even 1.6 and it should >>>> work. >>> >>> Thanks, had thought of that. I only have 1.6 installed as it happens. >>> >> >> >> >> -- >> Mattias Persson, [matt...@neotechnology.com] >> Neo Technology, www.neotechnology.com >> >
-- Mattias Persson, [matt...@neotechnology.com] Neo Technology, www.neotechnology.com _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user