Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neo4j 3.4.4 and 3.4.5 (community editions) #36

Open
ddsneo4j opened this issue Aug 6, 2018 · 1 comment
Open

Neo4j 3.4.4 and 3.4.5 (community editions) #36

ddsneo4j opened this issue Aug 6, 2018 · 1 comment

Comments

@ddsneo4j
Copy link

ddsneo4j commented Aug 6, 2018

Hi,

unfortunately, I am not able to run/compile copy-store.sh, because of the follwoing "cannot find symbol" errors:

./copy-store.sh community /EXT/neo4jtest/neo4j-community-3.4.4/data/databases/graph.db /EXT/neo4jtest/neo4j-community-3.4.5/data/databases/graph.db keep-node-ids:false
Usage: copy-store.sh [community|enterprise] source.db target.db [RELS,TO,SKIP] [props,to,skip] [Labels,To,Skip] [Labels,To,Delete,Nodes]
Using: Heap 4G Pagecache 2G Edition 'community' from '/EXT/neo4jtest/neo4j-community-3.4.4/data/databases/graph.db' to '/EXT/neo4jtest/neo4j-community-3.4.5/data/databases/graph.db' skipping labels: '', removing nodes with labels: '' rels: 'keep-node-ids:false' props '' Keeping Node Ids:

Please note that you will need this memory (2G + 1G + 4G) as it opens 2 databases one for reading and one for writing.
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< org.neo4j:store-util >------------------------
[INFO] Building store-util 3.4.4
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ store-util ---
[INFO] Deleting /EXT/neo4jtest/store-utils-31/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ store-util ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /EXT/neo4jtest/store-utils-31/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ store-util ---
[INFO] Compiling 7 source files to /EXT/neo4jtest/store-utils-31/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreComparer.java:[56,101] [deprecation] setConfig(Map<String,String>) in GraphDatabaseBuilder has been deprecated
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreComparer.java:[57,101] [deprecation] setConfig(Map<String,String>) in GraphDatabaseBuilder has been deprecated
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreComparer.java:[59,25] [try] auto-closeable resource srcDbTx is never referenced in body of corresponding try statement
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreComparer.java:[60,25] [try] auto-closeable resource targetDbTx is never referenced in body of corresponding try statement
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/PropertyAnalyzer.java:[85,15] [unchecked] unchecked conversion
[WARNING] Map
/EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/PropertyAnalyzer.java:[99,112] [deprecation] setConfig(Map<String,String>) in GraphDatabaseBuilder has been deprecated
[WARNING] class StoreCopy
/EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[102,25] [cast] redundant cast to
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[103,25] [cast] redundant cast to
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[104,25] [cast] redundant cast to
[WARNING] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreUpdate.java:[17,15] [unchecked] unchecked conversion
[WARNING] Map
/EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreUpdate.java:[33,95] [deprecation] setConfig(Map<String,String>) in GraphDatabaseBuilder has been deprecated
[INFO] 11 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[96,18] error: cannot find symbol
[ERROR] class StoreCopy
/EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[96,59] error: cannot find symbol
[ERROR] class StoreCopy
/EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[97,37] error: cannot find symbol
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.349 s
[INFO] Finished at: 2018-08-06T14:32:08+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project store-util: Compilation failure: Compilation failure:
[ERROR] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[96,18] error: cannot find symbol
[ERROR] class StoreCopy
[ERROR] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[96,59] error: cannot find symbol
[ERROR] class StoreCopy
[ERROR] /EXT/neo4jtest/store-utils-31/src/main/java/org/neo4j/tool/StoreCopy.java:[97,37] error: cannot find symbol
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project store-util: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Any help would be highly appreciated.

Thankks,
ddsneo4j

@ddsneo4j
Copy link
Author

ddsneo4j commented Aug 6, 2018

Additional info: OS=Centos 7; JAVA=1.8.0_172; Maven=3.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant