From: Michael B. <mic...@gm...> - 2008-09-05 04:36:04
|
I think the problem is that Netbeans 6.1 sets Java 1.4 as the default when creating / opening a maven project. In Project window, right click on the project element, then select Sources in the list on the RHS of the dialog, then at bottom left of dialog there should be a pull-down list called 'Source / Binary Format' where you can change the version. I forget this every time until I do the first build :) Michael ps. I'll check to see if I put anything about that on the netbeans wiki page 2008/9/5 Jody Garnett <jga...@re...>: > I was able to go throught the steps and confirm; I added a section at > the top of the "First Project" page asking people to run ... > > mvn -version > > And confirm what version of Java they were using on the command line there. > Jody > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |