Thanks Andrea. Let me follow your steps from now on.

On Thu, Apr 16, 2009 at 12:30 PM, Andrea Aime <[email protected]> wrote:

> Debasish Sahu ha scritto:
>
>> Hi ,
>>
>> I am getting the following error with the current trunk build
>>
>> 16 Apr 10:07:50 ERROR [geoserver.ows] -
>> java.lang.VerifyError: class org.geotools.data.postgis.PostGISDialect
>> overrides
>> final method
>> decodeGeometryValue.(Lorg/opengis/feature/type/GeometryDescriptor;L
>>
>> java/sql/ResultSet;ILcom/vividsolutions/jts/geom/GeometryFactory;Ljava/sql/Conne
>> ction;)Lcom/vividsolutions/jts/geom/Geometry;
>>        at java.lang.ClassLoader.defineClass1(Native Method)
>>        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>
>
> This type of error simply cannot be there when one is using
> a consistent build out of GeoTools trunk, you have a mixup of
> older and newer jars.
>
> Developing against GeoServer alone, especially in trunk, is
> imho simply not possible, too much is changing, too quickly.
> What I usually do each morning before starting to work is:
> 1) checkout/update both GT2 trunk and GS trunk
> 2) make sure I'm using java 5
> 3) build GT2 with "mvn clean install -Dall"
> 4) build GS with "mvn clean install -Pweb2"
> 5) eventually do a mvn eclipse:eclipse to update the
>   Eclipse projects using the same extra params as the
>   build
>
> Hope this helps
> Cheers
> Andrea
>



-- 
Thanks and Warm Regards
Debasish Sahu
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to