[Geoserver-devel] Failed to build geoserver 2.5.x whit the lastest code

When build geoserver 2.5.x from code with Java 7 throws error.

The recent commited classes src/main/src/test/java/org/geoserver/data/jdbc/TestConnection.java and src/main/src/test/java/org/geoserver/data/jdbc/WrapperConnection.java are te cause of this error.

The interface Connection in java 7 add new setNetworkTimeout method which is not implemented in the above classes,

I solved momentarily forcing compilation with java 6.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com.4052…

We support the use of Java 7 for GeoTools 2.6 series - it is a new feature :slight_smile:

···

Jody Garnett

On Mon, Aug 25, 2014 at 8:35 PM, Javier Avalos <javalos@anonymised.com> wrote:

When build geoserver 2.5.x from code with Java 7 throws error.

The recent commited classes src/main/src/test/java/org/geoserver/data/jdbc/TestConnection.java and src/main/src/test/java/org/geoserver/data/jdbc/WrapperConnection.java are te cause of this error.

The interface Connection in java 7 add new setNetworkTimeout method which is not implemented in the above classes,

I solved momentarily forcing compilation with java 6.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com.4052…


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

excellent! however there were no problems when compiling server with java 7 until now. Does the recommendation is to compile the series 5 with java 6?

···

Jody Garnett

On Mon, Aug 25, 2014 at 8:35 PM, Javier Avalos <javalos@anonymised.com> wrote:

When build geoserver 2.5.x from code with Java 7 throws error.

The recent commited classes src/main/src/test/java/org/geoserver/data/jdbc/TestConnection.java and src/main/src/test/java/org/geoserver/data/jdbc/WrapperConnection.java are te cause of this error.

The interface Connection in java 7 add new setNetworkTimeout method which is not implemented in the above classes,

I solved momentarily forcing compilation with java 6.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com.4052…


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel