jqassistant-plugin / jqassistant-apoc-plugin Goto Github PK
View Code? Open in Web Editor NEWjQAssistant plugin to provide Neo4j APOC extensions
License: GNU General Public License v3.0
jQAssistant plugin to provide Neo4j APOC extensions
License: GNU General Public License v3.0
After downloading the jar from the maven central, version 1.10 and jqassistant 1.10
I'm getting this exception
2023-02-20 14:46:04.065 [main] INFO PluginConfigurationReaderImpl - Scanning for jQAssistant plugins...
2023-02-20 14:46:05.600 [main] INFO PluginConfigurationReaderImpl - [APOC, Asciidoc Report, CDI, Common, Core Analysis, Core Report, EJB3, GraphML, GraphQL, JAX-RS, JPA 2, JSON, JUnit, Java, Java EE 6, Maven 2 Repository, Maven 3, OSGi, RDBMS, Spring, TestNG, Tycho, XML, YAML].
Exception in thread "main" com.buschmais.jqassistant.core.plugin.api.PluginRepositoryException: Cannot find or load class apoc.algo.Cliques
at com.buschmais.jqassistant.core.plugin.impl.AbstractPluginRepository.getType(AbstractPluginRepository.java:53)
at com.buschmais.jqassistant.core.plugin.impl.StorePluginRepositoryImpl.getTypes(StorePluginRepositoryImpl.java:55)
at com.buschmais.jqassistant.core.plugin.impl.StorePluginRepositoryImpl.<init>(StorePluginRepositoryImpl.java:30)
at com.buschmais.jqassistant.core.plugin.impl.PluginRepositoryImpl.initialize(PluginRepositoryImpl.java:36)
at com.buschmais.jqassistant.commandline.Main.executeTasks(Main.java:201)
at com.buschmais.jqassistant.commandline.Main.interpretCommandLine(Main.java:195)
at com.buschmais.jqassistant.commandline.Main.run(Main.java:78)
at com.buschmais.jqassistant.commandline.Main.main(Main.java:49)
Caused by: java.lang.ClassNotFoundException: apoc.algo.Cliques
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at com.buschmais.jqassistant.commandline.PluginClassLoader.loadClass(PluginClassLoader.java:32)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.buschmais.jqassistant.core.plugin.impl.AbstractPluginRepository.getType(AbstractPluginRepository.java:49)
... 7 more
The plugin release 2.0.0 fails to load properly due to multiple errors with message "Cannot register procedure class ..." with different classes (jQA 2.0.1)
[WARNING] Cannot register procedure class apoc.cache.Static
org.neo4j.kernel.api.exceptions.ComponentInjectionException: Unable to set up injection for procedure Static
, the field apocConfig
has type class apoc.ApocConfig
which is not a known injectable component.
at org.neo4j.procedure.impl.FieldInjections.createInjector (FieldInjections.java:98)
at org.neo4j.procedure.impl.FieldInjections.setters (FieldInjections.java:81)
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure (ProcedureCompiler.java:264)
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure (ProcedureCompiler.java:225)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:187)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:175)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:164)
at com.buschmais.jqassistant.neo4j.embedded.neo4jv4.Neo4jV4CommunityNeoServer.registerProceduresAndFunctions (Neo4jV4CommunityNeoServer.java:91)
at com.buschmais.jqassistant.neo4j.embedded.neo4jv4.Neo4jV4CommunityNeoServer.initialize (Neo4jV4CommunityNeoServer.java:45)
at com.buschmais.jqassistant.core.store.impl.EmbeddedGraphStore.initialize (EmbeddedGraphStore.java:68)
at com.buschmais.jqassistant.core.store.impl.AbstractGraphStore.start (AbstractGraphStore.java:67)
at com.buschmais.jqassistant.scm.maven.provider.CachingStoreProvider.getStore (CachingStoreProvider.java:74)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.getStore (AbstractMojo.java:212)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.withStore (AbstractMojo.java:172)
at com.buschmais.jqassistant.scm.maven.ServerMojo.aggregate (ServerMojo.java:31)
at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo.execute (AbstractProjectMojo.java:22)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:122)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
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:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
I'm using jqassistant.cli-jqassistant-commandline-distribution-2.0.0 from https://repo1.maven.org/maven2/com/buschmais/jqassistant/cli/jqassistant-commandline-distribution/2.0.0/jqassistant-commandline-distribution-2.0.0-bin.zip
and
jqassistant-apoc-plugin-2.0.0.jar from https://repo1.maven.org/maven2/org/jqassistant/plugin/jqassistant-apoc-plugin/2.0.0/jqassistant-apoc-plugin-2.0.0.jar
when I run scan: ./jqassistant/bin/jqassistant.sh scan or start the server: ./jqassistant/bin/jqassistant.sh server
I get the following exception:
Exception in thread "main" com.buschmais.jqassistant.core.runtime.api.plugin.PluginRepositoryException: Cannot find or load class apoc.algo.Cover
at com.buschmais.jqassistant.core.runtime.impl.plugin.AbstractPluginRepository.getType(AbstractPluginRepository.java:53)
at com.buschmais.jqassistant.core.runtime.impl.plugin.StorePluginRepositoryImpl.getTypes(StorePluginRepositoryImpl.java:60)
at com.buschmais.jqassistant.core.runtime.impl.plugin.StorePluginRepositoryImpl.(StorePluginRepositoryImpl.java:30)
at com.buschmais.jqassistant.core.runtime.impl.plugin.PluginRepositoryImpl.initialize(PluginRepositoryImpl.java:43)
at com.buschmais.jqassistant.commandline.Main.executeTasks(Main.java:236)
at com.buschmais.jqassistant.commandline.Main.interpretCommandLine(Main.java:187)
at com.buschmais.jqassistant.commandline.Main.run(Main.java:81)
at com.buschmais.jqassistant.commandline.Main.main(Main.java:62)
Caused by: java.lang.ClassNotFoundException: apoc.algo.Cover
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at com.buschmais.jqassistant.core.runtime.impl.plugin.AbstractPluginRepository.getType(AbstractPluginRepository.java:49)
... 7 more
Can you please help me? I don't understand what I'm missing.
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.