OK the PR https://github.com/geotools/geotools/pull/944
<https://github.com/geotools/geotools/pull/944is> is ready - I'll wait on
travis and merge later if all seems fine

Ian

On Sat, Aug 22, 2015 at 12:06 PM Ian Turton <ijtur...@gmail.com> wrote:

> I'm sorry but I've just been through both the maven and eclipse
> quickstarts and they work perfectly. I'll push up changes to the version
> numbers later today (since that seems to worry people).
>
> There must be something strange about your setup, are you on some sort of
> odd operating system (windows?) or may be you have a lot of other jars in
> your project?
>
> According to maven you need (and only need) the following
>
> org.geotools:tutorial:jar:1.0-SNAPSHOT
> [INFO] +- junit:junit:jar:3.8.1:test
> [INFO] +- org.geotools:gt-shapefile:jar:13.2:compile
> [INFO] |  +- org.geotools:gt-data:jar:13.2:compile
> [INFO] |  |  \- org.geotools:gt-main:jar:13.2:compile
> [INFO] |  |     +- org.geotools:gt-api:jar:13.2:compile
> [INFO] |  |     \- com.vividsolutions:jts:jar:1.13:compile
> [INFO] |  +- org.jdom:jdom:jar:1.1.3:compile
> [INFO] |  \- javax.media:jai_core:jar:1.1.3:compile
> [INFO] \- org.geotools:gt-swing:jar:13.2:compile
> [INFO]    +- org.geotools:gt-referencing:jar:13.2:compile
> [INFO]    |  +- java3d:vecmath:jar:1.3.2:compile
> [INFO]    |  +- commons-pool:commons-pool:jar:1.5.4:compile
> [INFO]    |  +- org.geotools:gt-metadata:jar:13.2:compile
> [INFO]    |  |  \- org.geotools:gt-opengis:jar:13.2:compile
> [INFO]    |  |     \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
> [INFO]    |  \- jgridshift:jgridshift:jar:1.0:compile
> [INFO]    +- org.geotools:gt-render:jar:13.2:compile
> [INFO]    |  +- org.geotools:gt-coverage:jar:13.2:compile
> [INFO]    |  |  +- javax.media:jai_imageio:jar:1.1:compile
> [INFO]    |  |  +-
> it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1.11:compile
> [INFO]    |  |  |  +-
> it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.1.11:compile
> [INFO]    |  |  |  \- javax.media:jai_codec:jar:1.1.3:compile
> [INFO]    |  |  +- org.jaitools:jt-zonalstats:jar:1.3.1:compile
> [INFO]    |  |  \- org.jaitools:jt-utils:jar:1.3.1:compile
> [INFO]    |  \- org.geotools:gt-cql:jar:13.2:compile
> [INFO]    \- com.miglayout:miglayout:jar:swing:3.7:compile
>
> Ian
>
> On Fri, Aug 21, 2015 at 7:38 PM Michael Duffy <mduffy...@gmail.com> wrote:
>
>> This is incredibly frustrating.  Even the Maven instructions in the
>> GeoTools Quick Start guide for Eclipse fails.
>>
>> From that guide: "At the time of writing the latest release was:
>> eclipse-java-indigo-SR1-win32.zip".  Indigo Eclipse was released four years
>> ago.
>>
>> If you look at the stack trace below, the code is failing when an attempt
>> is made to log an event for the HSQL database.
>>
>> Does anyone know if the GeoTools project requires configuration for the
>> HSQL database or for logging?
>>
>> My expectation and the expectations of others who have faced this same
>> frustration is that you should be able to create a new project in Eclipse,
>> add the GeoTool's jar files to the Java Build path, create a simple test
>> class with a main method, copy the tutorial code into that main method and
>> it should work.
>>
>> Thx.
>>
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError: Could not
>> initialize class org.hsqldb.lib.FrameworkLogger
>> at org.hsqldb.persist.Logger.getEventLogger(Unknown Source)
>> at org.hsqldb.persist.Logger.logInfoEvent(Unknown Source)
>> at org.hsqldb.persist.Logger.closePersistence(Unknown Source)
>> at org.hsqldb.Database.reopen(Unknown Source)
>> at org.hsqldb.Database.open(Unknown Source)
>> at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
>> at org.hsqldb.DatabaseManager.newSession(Unknown Source)
>> at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
>> at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
>> at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source)
>> at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source)
>> at
>> org.geotools.referencing.factory.epsg.DirectEpsgFactory.getConnection(DirectEpsgFactory.java:3196)
>> at
>> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:436)
>> at
>> org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133)
>> at
>> org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235)
>> at
>> org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
>> at
>> org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667)
>> at
>> org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501)
>> at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:192)
>> at javax.imageio.spi.FilterIterator.advance(Unknown Source)
>> at javax.imageio.spi.FilterIterator.<init>(Unknown Source)
>> at javax.imageio.spi.ServiceRegistry.getServiceProviders(Unknown Source)
>> at
>> org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:197)
>> at
>> org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:180)
>> at
>> org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:455)
>> at
>> org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88)
>> at
>> org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
>> at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:263)
>> at org.geotools.referencing.CRS.decode(CRS.java:520)
>> at org.geotools.referencing.CRS.decode(CRS.java:448)
>> at
>> org.geotools.data.DataUtilities.createAttribute(DataUtilities.java:2697)
>> at org.geotools.data.DataUtilities.createType(DataUtilities.java:1964)
>> at org.geotools.data.DataUtilities.createType(DataUtilities.java:1937)
>> at EsriTest.main(EsriTest.java:36)
>>
>>
>> On Fri, Aug 21, 2015 at 9:36 AM, Andrea Aime <
>> andrea.a...@geo-solutions.it> wrote:
>>
>>> On Fri, Aug 21, 2015 at 3:22 PM, Michael Duffy <mduffy...@gmail.com>
>>> wrote:
>>>
>>>> Also, I will be happy to contribute to the project and update the
>>>> Eclipse Quick Start guide (I just need to know which jar files are the
>>>> essential core).  :)
>>>>
>>>
>>> Almost everything in GeoTools is a plugin, so there is pretty much
>>> nothing that is "essential core" besides
>>> a handful of jars (like gt-main, gt-api, gt-referencing, and whatever
>>> their dependecies are).
>>>
>>> Want to read a shepefile? It's a plugin. Want to render a map? Not core
>>> either (one can do apps without
>>> any map rendering, e.g., a pure WFS server). And so on.
>>> Maven is pretty much the only way to know the full set of jars needed
>>> once you know which functionalities
>>> you need.
>>>
>>> Like, I have no idea what the quickstarts makes you do, but if I wanted
>>> to know which jars I need, I'd
>>> assemble the pom.xml for your needs, and have Maven tell you, see this
>>> one:
>>> http://osgeo-org.1560.x6.nabble.com/Too-many-jars-td5078192.html
>>>
>>> I have been working on GeoTools since 2002, and to be honest, I would
>>> not be able to list the jars
>>> needed to achieve a given set of functionality, without using Maven to
>>> get the answer as Ian did above.
>>> They are many, and they tend to change over time.
>>>
>>>
>>>>
>>>> I would also suggest that the directory structure of
>>>> the geotools-13.1-bin.zip be modified.  The main directory should contain
>>>> the essential jar files, there should be a sub directory for supporting jar
>>>> files and another sub directory for licensing information.
>>>>
>>>
>>> See above.
>>>
>>>
>>>>
>>>> You should also know that you are not alone in your disregard of
>>>> supporting documentation.  Most good developers are focused on getting
>>>> things to work, not explaining how things work.  One of the main complaints
>>>> against Amazon Web Services is that they are creating new features and
>>>> services at an incredibly fast pace and not creating supporting
>>>> documentation.
>>>>
>>>
>>> You are comparing apples and oranges. Amazon developers get paid to do
>>> what they do, and whatever docs they produce, they produce
>>> during working hours. We often don't have such luxury, nobody has ever
>>> paid for "getting started" docs, they often sponsor a new
>>> functionality and grumble because they have to include in the
>>> sponsorship the hours needed to interact with the community,
>>> socialize the ideas, and write the docs for it (advanced, focused docs,
>>> not getting started ones).
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> --
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Andrea Aime
>>> @geowolf
>>> Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via Poggio alle Viti 1187
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313
>>> fax: +39 0584 1660272
>>> mob: +39  339 8844549
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>>
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility  for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>> -------------------------------------------------------
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to