Giter Site home page Giter Site logo

jqassistant-apoc-plugin's People

Contributors

dirkmahler avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jqassistant-apoc-plugin's Issues

getting exception after coping the jar file to the plugins folder using Command Line Distribution

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

Plugin loading fails - Cannot register procedure class

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)

Cannot find or load class apoc.algo.Cover

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.