cineast

107 views
Skip to first unread message

Matt MacKenzie

unread,
May 15, 2012, 2:55:00 PM5/15/12
to <neo4j@googlegroups.com>
Hi,

I'm trying out some of the samples found at https://github.com/SpringSource/spring-data-neo4j/tree/master/spring-data-neo4j-examples/cineasts, and I'm noticing that cineasts is busted.

  1. When you call /populate on the web site, you this exception: http://pastebin.com/R955uEzG.
  2. When you try to register, an exception is thrown by findByLogin with the following message: No element found in org.neo4j.index.impl.lucene.LuceneIndex$1@775dfb9d

Anyone know what's up?  I was hoping to use this as a starting point for something :-)

-matt

Michael Hunger

unread,
May 15, 2012, 4:31:44 PM5/15/12
to ne...@googlegroups.com
Matt,

it should work out of the box, I'll investigate, would you be so kind as to raise an issue here: http://spring.neo4j.org/issues

Thanks so much

Michael

Matt MacKenzie

unread,
May 15, 2012, 4:42:46 PM5/15/12
to <neo4j@googlegroups.com>, ne...@googlegroups.com
Sure. I literally cloned the repo and typed mvn jetty:run, no changes made. 

Matt MacKenzie

Hubert

unread,
May 18, 2012, 11:01:36 PM5/18/12
to Neo4j
I see the same error "No element found in
org.neo4j.index.impl.lucene.LuceneIndex$1@xxxxx" when I download and
run the cineasts sample today.
-Hubert

On May 15, 1:42 pm, Matt MacKenzie <m...@uberity.com> wrote:
> Sure. I literally cloned the repo and typed mvn jetty:run, no changes made.
>
> Matt MacKenzie
> 613-979-6843
>
> On 2012-05-15, at 4:31 PM, "Michael Hunger" <michael.hun...@neotechnology.com<mailto:michael.hun...@neotechnology.com>> wrote:
>
> Matt,
>
> it should work out of the box, I'll investigate, would you be so kind as to raise an issue here:http://spring.neo4j.org/issues
>
> Thanks so much
>
> Michael
>
> Am 15.05.2012 um 20:55 schrieb Matt MacKenzie:
>
> Hi,
>
> I'm trying out some of the samples found athttps://github.com/SpringSource/spring-data-neo4j/tree/master/spring-..., and I'm noticing that cineasts is busted.
>
>   1.  When you call /populate on the web site, you this exception:http://pastebin.com/R955uEzG.
>   2.  When you try to register, an exception is thrown by findByLogin with the following message: No element found in org.neo4j.index.impl.lucene.LuceneIndex$1@775dfb9d

Michael Hunger

unread,
May 19, 2012, 2:29:28 PM5/19/12
to ne...@googlegroups.com
I'm currently on vacation till Thursday, I get back to you when I'm back.

Michael

Michael Hunger

unread,
Sep 13, 2012, 10:44:04 PM9/13/12
to ne...@googlegroups.com
Which version did you use from which location?

The correct one is part of the github.com/springsource/spring-data-neo4j source tree.

Michael

Am 14.09.2012 um 04:29 schrieb gevorg:

Hello Michael,

I'd like to start using neo4j and I would love to do it through spring-data. I'm still finding some issues when trying to run cineast-rest that are making my life a little harder though :( Let me share some issues/fix/issues when I type mvn jetty:run
  • Context Initialization Failed .. BeanDefinitioParsingException .. you cannot use a spring-security-2.0 (or 3.0) schema with spring-security-3.1 ... offending resource WEB-INF/application-context-security.xml. FIX: I fixed this by upgrading the xsi:schemaLocation to http://www.springframework.org/schema/security/spring-security-3.1.xsd
  • In dispatcherServlet-servlet.xml, IntelliJ does not like the following: xmlns:p="http://www.springframework.org/schema/p" and this might be responsible for other exception when I try to launch the app. FIX: manually set 'prefix' and 'suffix' to the <bean id="viewResolver"> and remove xmlns:p
  • IntelliJ finds errors in web.xml as well, something weird like: "web-app-filter-name-uniqueness matched element web-app but this element does not have a simple type." FIX: Get rid of http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd in xsi:schemaLocation

I hope that addressed the issues above the right way and that others can benefit from it.

I'm still not able to run cineast-rest because of many errors like BeanCreationException (EG bean with name graphDatabaseService) , NoClassDefFoundError (EG com/sun/jersey/api/client/filter/ClientFilter). Are there any plans of updating the examples so that they run out of the box (simple cineast has issues as well)?

Thanks!

--
 
 

Lasse Westh-Nielsen

unread,
Sep 14, 2012, 4:15:35 AM9/14/12
to ne...@googlegroups.com
gevorg,

I fixed cineasts yesterday and cineasts-rest today so they run locally, and cineasts also on CI. Cineasts-REST cannot run out-of-the-box because it relies on having a Neo4j instance running as server (plain Cineasts uses an embedded database).


Please give it another go and let us know if you find any other problems.

Regards,

Lasse




On Fri, Sep 14, 2012 at 2:29 AM, gevorg <gevor...@gmail.com> wrote:
Hello Michael,

I'd like to start using neo4j and I would love to do it through spring-data. I'm still finding some issues when trying to run cineast-rest that are making my life a little harder though :( Let me share some issues/fix/issues when I type mvn jetty:run
  • Context Initialization Failed .. BeanDefinitioParsingException .. you cannot use a spring-security-2.0 (or 3.0) schema with spring-security-3.1 ... offending resource WEB-INF/application-context-security.xml. FIX: I fixed this by upgrading the xsi:schemaLocation to http://www.springframework.org/schema/security/spring-security-3.1.xsd
  • In dispatcherServlet-servlet.xml, IntelliJ does not like the following: xmlns:p="http://www.springframework.org/schema/p" and this might be responsible for other exception when I try to launch the app. FIX: manually set 'prefix' and 'suffix' to the <bean id="viewResolver"> and remove xmlns:p
  • IntelliJ finds errors in web.xml as well, something weird like: "web-app-filter-name-uniqueness matched element web-app but this element does not have a simple type." FIX: Get rid of http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd in xsi:schemaLocation

I hope that addressed the issues above the right way and that others can benefit from it.

I'm still not able to run cineast-rest because of many errors like BeanCreationException (EG bean with name graphDatabaseService) , NoClassDefFoundError (EG com/sun/jersey/api/client/filter/ClientFilter). Are there any plans of updating the examples so that they run out of the box (simple cineast has issues as well)?

Thanks!


On Saturday, May 19, 2012 2:29:28 PM UTC-4, Michael Hunger wrote:

--
 
 

Reply all
Reply to author
Forward
0 new messages