Hi David,
looks like the datastore code is not working as expected, but I cannot help
further than that.
A quick search on internet got me to this page:
https://neo4j-contrib.github.io/spatial/0.24-neo4j-3.1/index.html#spatial-geoserver
It says "Tested with: GeoServer 2.1.1", which is like 13 releases ago, or
in other terms, 6 years and a half ago.

If this is the source code of the store (I believe it is, but might be
wrong), then it's in dire need of a rewrite:
https://github.com/neo4j-contrib/spatial/blob/master/src/main/java/org/geotools/data/neo4j/Neo4jSpatialDataStore.java

The "AbstractDataStore" base class has been deprecated years ago and don't
think it's available anymone in the GeoServer
classpath.

I can't tell you much more as the store is not maintained by the GeoServer
community, you'll probably have better
luck talking directly by the neo4j one instead

Cheers
Andrea


On Fri, Sep 7, 2018 at 5:38 PM David Haynes <[email protected]> wrote:

> Hello,
>
> I'm running into an error. I successfully created a neo4j datastore in
> GeoServer. However, after creating the datastore and connecting to the
> neo4j database. I now have this error.
>
> Oddly this error is only showing up in the log. When I go to add a feature
> layer through the web interface I get an empty screen.
>
> I also found it in the REST of Geoserver
> Expression properties.featureTypes is undefined on line 4, column 8 in
> DataStoreInfo.ftl. The problematic instruction: ---------- ==> list
> properties.featureTypes as ft [on line 4, column 1 in DataStoreInfo.ftl]
> ---------- Java backtrace for programmers: ----------
> freemarker.core.InvalidReferenceException: Expression
> properties.featureTypes is undefined on line 4, column 8 in
> DataStoreInfo.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) at
>
> CALL spatial.addPointLayer('community_cultural_centers');
>
> CREATE (a: agency {Name: 'Pillsbury United Communities', Distance: '0.6
> miles from West Bank Station', Address_street: '420 S 15th Ave',
> Address_city: 'Minneapolis', Address_state: 'MN', Address_zip: '55454',
> Neighborhood: 'Cedar Riverside', Services_0_0: 'Early Education',
> Services_0_1: 'Office of Public Charter Schools', Services_0_2: 'Academic
> Support Programs', Services_0_3: 'Asset creation', Services_0_4: 'Youth &
> Family Programs', Services_0_5: 'Wellness & Nutrition: Health Programs',
> Services_0_6: 'Classes & Workshops', Services_0_7: 'Food & Nutrition',
> Services_0_8: 'Employment & Training', Race_Ethnicity_African: '19.7',
> Race_Ethnicity_African_American: '16.7', Race_Ethnicity_American_Indian:
> '3.7', Race_Ethnicity_Asian: '6.2', Race_Ethnicity_Hispanic: '20.7',
> Race_Ethnicity_White: '25.6', Race_Ethnicity_Multiracial: '3.7',
> Race_Ethnicity_Other: '3.8', Income_below_100_federal_poverty_level: '11',
> Income_between_100_200_federal_poverty_level: '14.7',
> Income_above_200_federal_poverty_level: '53.9', Income_unknown: '20.5',
> Age_0_5: '17.8%', Age_6_9: '4', Age_10_17: '7.9', Age_18_22: '11',
> People_Served: '58471', Targeted_Audience_0_0: 'individuals',
> Targeted_Audience_0_1: 'families', Targeted_Audience_0_2: 'and
> communities', Link: 'https', latitude: 44.9709014113843, longitude:
> -93.2494405035189} ) WITH a CALL
> spatial.addNode('community_cultural_centers', a) YIELD node RETURN node;```
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards, Andrea Aime == 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 di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to