neo4j-documentation / developer-resources Goto Github PK
View Code? Open in Web Editor NEWthis repository is outdated and will be archived
Home Page: https://github.com/neo4j-documentation/developer-guides
this repository is outdated and will be archived
Home Page: https://github.com/neo4j-documentation/developer-guides
And that the page will be updated and Bloom will be available natively on Aura.
docker run \
--name testneo4j \
-p7474:7474 -p7687:7687 \
-d \
-v $HOME/neo4j/data:/data \
-v $HOME/neo4j/logs:/logs \
-v $HOME/neo4j/import:/var/lib/neo4j/import \
-v $HOME/neo4j/plugins:/plugins \
--env NEO4JLABS_PLUGINS='["apoc", "neosemantics"]' # Installs APOC and Neosemantics
--env NEO4J_AUTH=neo4j/test \
neo4j:latest
https://github.com/neo4j/docker-neo4j/blob/master/neo4jlabs-plugins.json
on the /cypher intro pages
so that people googling for it find it
probably needs rather <<id,text>>
https://asciidoctor.org/docs/user-manual/#internal-cross-references
Idea by @albertoperdomo
We have to split out all examples into separate repositories that live either side-by-side or with the driver and include them as submodules (if we want that)
When passing a GET variable (http://localhost:8080/graph?limit=10) to https://github.com/neo4j-contrib/developer-resources/blob/gh-pages/language-guides/php/neo4jphp/index.php#L19, getting this:
[message] => java.lang.String cannot be cast to java.lang.Number
[exception] => ClassCastException
[fullname] => java.lang.ClassCastException
Screenshot: http://screenshare.ru/dlMT0U8f
Just a newbie in neo4j
A new guide on the differences between enterprise and community editions of Neo4j is needed for the get started section.
Focus should be on application requirements and user volume.
And possibly replace with Causal Cluster setup
Something along the lines:
Hello all,
I'm trying to run the server-extension java example, I have no experience with java and some help would be extremely appreciated. So far I have:
Now I'm a bit stuck on how to run the code. Since from m2e I cannot do
mvn compile exec:java
I have tried the running the package with the following configuration:
But an error says that: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java are missing
If in the Run Configuration I add the paramenter "exec.mainClass" with value "example.extension.movies.MovieResource" then I get another error saying that there is no "main" method defined.
Am I missing something? What is the correct Run Configuration?
I get an error with this application when I update the dependency of spring-data-neo4j-rest to 3.3.0.RELEASE.
java.lang.ClassNotFoundException: org.springframework.data.neo4j.core.UpdateableState
The error occurs when instantiating the graphDatabaseService
on this page:
http://neo4j.com/developer/in-production/
link is:
http://neo4j.com/hardware-sizing/
I'm trying to read the neo4j url
from application.properties
as I usually do in spring.boot
projects. But here it doesn't work:
package movies.spring.data.neo4j;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Relationship;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.neo4j.config.EnableNeo4jRepositories;
import org.springframework.data.neo4j.config.Neo4jConfiguration;
import org.springframework.data.neo4j.core.TypeRepresentationStrategy;
import org.springframework.data.neo4j.rest.SpringRestGraphDatabase;
import org.springframework.data.neo4j.support.typerepresentation.NoopRelationshipTypeRepresentationStrategy;
import org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
// tag::config[]
@EnableTransactionManagement
@Import(RepositoryRestMvcConfiguration.class)
@EnableScheduling
@EnableAutoConfiguration
@ComponentScan(basePackages = {"movies.spring.data.neo4j.services"})
@Configuration
@EnableNeo4jRepositories(basePackages = "movies.spring.data.neo4j.repositories")
public class MyNeo4jConfiguration extends Neo4jConfiguration {
public MyNeo4jConfiguration() {
setBasePackage("movies.spring.data.neo4j.domain");
}
@Value("${graph.db.url}")
private String url;
@Bean
public GraphDatabaseService graphDatabaseService() {
return new SpringRestGraphDatabase(url);
}
@Override
public TypeRepresentationStrategy<Relationship> relationshipTypeRepresentationStrategy() throws Exception {
return new NoopRelationshipTypeRepresentationStrategy();
}
}
// end::config[]
Here is my application.properties
file
graph.db.url: http://localhost:7474/db/data/
Also it fails to load it using @ConfigurationProperties
approach.
The URI scheme should be updated in https://neo4j.com/developer/aura-connect-cypher-shell/ to reflect the new URI scheme neo4j+s to connect to Aura instead of bolt+routing
i followed the doc.. but when i do "mvn compile exec:java".. i am getting
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project neo4j-movies: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java are missing or invalid -> [Help 1]
i am sure i am missing something silly.. please help..
./Zahoor
Im getting java.sql.SQLException: No suitable driver found for jdbc:neo4j://localhost:7474/ in Neo4j 2.1.6.
I'm using neo4j-jdbc-2.1.4-jar-with-dependencies.jar
java.sql.SQLException: No suitable driver found for jdbc:neo4j://localhost:7474/
at java.sql.DriverManager.getConnection(DriverManager.java:596)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at com.aig.neo4jpoc.platform.JdbcCypherExecutor.(JdbcCypherExecutor.java:19)
at com.aig.neo4jpoc.platform.JdbcCypherExecutor.(JdbcCypherExecutor.java:15)
at com.aig.neo4jpoc.dao.Neo4jDAOImpl.createCypherExecutor(Neo4jDAOImpl.java:39)
at com.aig.neo4jpoc.dao.Neo4jDAOImpl.graph(Neo4jDAOImpl.java:114)
at com.aig.neo4jpoc.controller.Neo4jController.getGraph(Neo4jController.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Content is sparse and may be out of date.
For Neo4jClient, how about summarizing and linking to these instructions?
https://github.com/Readify/Neo4jClient/wiki
Assuming @tathamoddie is ok with this?
Something similar for @mtranter's CypherNet ?
Hi, I am trying to just use the jdbc driver and I am getting No suitable driver found for jdbc:neo4j://localhost:7474/ with Neo 2.1.4
on this page:
http://neo4j.com/developer/example-data/
----- Original Message ----
Hey guys!
I was just notified that the example movie dataset you guys are using here looks like it’s the data that Spring.io used from their tutorial here. The Spring.io data was sourced from The Movie Database (TMDb) and while we have attribution on the tutorial, I’m wondering if we could have the same attribution on the Neo4j website.
Technically speaking our terms disallows sub licensing our data like this but as long as we get attributed I see no problem why you guys can’t continue to use the data as an example. The tutorial and data are perfect examples of what Neo4j can do.
Thanks!
—
Travis Bell
Twitter: http://twitter.com/themoviedb
Facebook: http://www.facebook.com/themoviedb
Status: https://www.themoviedb.org/status
For support, visit our discussion area: http://www.themoviedb.org/talk
There are many great resources for data visualization + Neo4j (a lot of D3 stuff). This the current just mentions D3 and moves on to commercial packages.
How about separating Graph Visualization into different files (similar to how the drivers are organized) and having an article per graph visualization method?
In head_partial.erb
the <title>
HTML tag is hard-coded to be the same title for pretty much every page.
I'm unsure of the ruby templating bits of how to state a title in the asciidoc pages, but that variable needs to be set, and then I guess head_partial.erb needs to substitute it.
Will look further into this when I can get the time.
on Getting Started page
link book to
neo4j.com/graph-databases-book
NOT neo4j.com/books/graph-databases
To make it easy to test that new versions of the libraries are working
Since version 1.2.7 the desktop enforce and implemented neo4j
scheme to connect to Aura instance.
This needs to be reflected in https://neo4j.com/developer/aura-connect-neo4j-desktop/ instructions
So it seems that getting Spring-boot and spring-data-neo4j 3.3.0 to talk to each other proves troublesome. I have tried doing several of the different examples for Spring boot and all work fine until I try and use spring-data-neo4j 3.3.0 or higher. I've been banging my head against this wall for a few days, does anyone have any advice for me on how to implement a simple rest interface using spring-data-neo4j-3.3.0? This is mostly for faster iterative development on eventual server extension methods. The error I continously get is:
java.lang.NoClassDefFoundError: org/springframework/data/mapping/PersistentPropertyAccessor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.