I use maven to track jar dependencies; I would expect you need more  
then this - to actually work with shapefile you need referencing for  
example.

Please review the docs here - which list in tree form everything  
needed to work with shapefiles:
- http://www.geotools.org/quickstart.html

Specifically:

[INFO] +- junit:junit:jar:3.8.1:test
[INFO] +- org.geotools:gt-main:jar:2.6-M2:compile
[INFO] |  +- org.geotools:gt-api:jar:2.6-M2:compile
[INFO] |  +- com.vividsolutions:jts:jar:1.9:compile
[INFO] |  +- jdom:jdom:jar:1.0:compile
[INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] |     \- commons-logging:commons-logging:jar:1.0.3:compile
[INFO] +- org.geotools:gt-shapefile:jar:2.6-M2:compile
[INFO] |  \- org.geotools:gt-referencing:jar:2.6-M2:compile
[INFO] |     +- java3d:vecmath:jar:1.3.1:compile
[INFO] |     +- commons-pool:commons-pool:jar:1.3:compile
[INFO] |     \- org.geotools:gt-metadata:jar:2.6-M2:compile
[INFO] |        +- org.opengis:geoapi:jar:2.2-SNAPSHOT:compile
[INFO] |        \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
[INFO] \- org.geotools:gt-epsg-hsql:jar:2.6-M2:compile
[INFO]    \- hsqldb:hsqldb:jar:1.8.0.7:compile


Jody
On 06/09/2009, at 1:38 AM, vurfem wrote:

>
> Hello Jody,
>
> Thanks your reply. Finally just for to be sure that there is no  
> limitation
> on geotools side I am writing  you the jar files of Geotools that I  
> add on
> the classpath. May be I miss the needed one for DatastoreFinder. The  
> jar
> files I add to classpath for the code I sent you are;
>
> (For GeoTools 2.5.1)
>
> geoapi-2.2-M1.jar , gt-data-2.5.1.jar , gt-cql-2.5.1.jar -  
> jts-1.9.jar ,
> gt-shapefile-2.5.1.jar , gt-main-2.5.1.jar, gt-api-2.5.1.jar.
>
> Is there any missing one?
>
> Thanks,
>
> Vurfem
>
>
>
> Jody Garnett-2 wrote:
>>
>> Reading a bit on the web it looks like you need to carefully bundle  
>> up
>> multiple classes into a jar - and upload them into the hands of your
>> webserver.
>>
>> http://wso2.org/library/3151
>>
>> In anycase there is no  technical limitation on the geotools side;  
>> you
>> just need to spend some time with your applications server.
>>
>> Jody
>>
>> On 05/09/2009, at 10:58 PM, vurfem wrote:
>>
>>>
>>> Hello Jody;
>>>
>>> WSO2 Web Services Application Server is an open source web services
>>> engine
>>> that you can deploy  the web services based on Apache Axis2. I have
>>> add the
>>> jar files on the system classpath. I am attaching the service code
>>> maybe
>>> useful for solving the problem.Thanks.
>>>
>>> Best regards, http://n2.nabble.com/file/n3585072/AlanGetirServisi.java
>>> AlanGetirServisi.java  http://n2.nabble.com/file/n3585072/services.xml
>>> services.xml
>>>
>>> Vurfem
>>>
>>>
>>>
>>> Jody Garnett-2 wrote:
>>>>
>>>> Um can you translate WSO2 WSAS 2.3.1?
>>>>
>>>> Is it websphere? Nope appears to be something based on apache...
>>>>
>>>> So this is probably something specific you your application
>>>> server ...
>>>> when you say "Add to my classath" what exactly did you do?  Some
>>>> application severs refer to the system CLASSPATH; some only will  
>>>> let
>>>> you play with jars packaged in your WAR etc...
>>>>
>>>> Jody
>>>>
>>>>
>>>> On 05/09/2009, at 11:52 AM, vurfem wrote:
>>>>
>>>>>
>>>>>
>>>>> Hi list;
>>>>>
>>>>> I have written a program with GeoTools 2.5.1 that calculates the
>>>>> area of a
>>>>> given parcel. It  works well in Eclipse. Then I make the code a
>>>>> service code
>>>>> and deploy it to WSO2 WSAS 2.3.1 web services application  
>>>>> server. It
>>>>> gives
>>>>> the following error when I try it on the WSAS;
>>>>>
>>>>> Fault: org/geotools/data/DataStoreFinder
>>>>> java.lang.NoClassDefFoundError: org/geotools/data/DataStoreFinder
>>>>>
>>>>> It seems that it can't find the DataStoreFinder class but I have
>>>>> added the
>>>>> jars to my classpath.
>>>>>
>>>>> What will be the reason of this error? How can I solve this  
>>>>> problem?
>>>>> It is
>>>>> very urgent for my study.
>>>>> Thanks for any help.
>>>>>
>>>>> Best Regards,
>>>>> Vurfem
>>>>> -- 
>>>>> View this message in context:
>>>>> http://n2.nabble.com/GeoTools-and-WSO2-WSAS-tp3583451p3583451.html
>>>>> Sent from the geotools-gt2-users mailing list archive at Nabble.com 
>>>>> .
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports  
>>>>> 2008
>>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment -  
>>>>> and
>>>>> focus on
>>>>> what you do best, core application coding. Discover what's new  
>>>>> with
>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Geotools-gt2-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports  
>>>> 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment -
>>>> and focus
>>>> on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Geotools-gt2-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://n2.nabble.com/GeoTools-and-WSO2-WSAS-java-lang-NoClassDefFoundError-org-geotools-data-DataStoreFinder-tp3583451p3585072.html
>>> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Geotools-gt2-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment -  
>> and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>>
>
> -- 
> View this message in context: 
> http://n2.nabble.com/GeoTools-and-WSO2-WSAS-java-lang-NoClassDefFoundError-org-geotools-data-DataStoreFinder-tp3583451p3586009.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to