Giter VIP home page Giter VIP logo

Comments (9)

ceharris avatar ceharris commented on June 12, 2024

Are you using the same versions of the Mibble dependencies as those listed in the top level pom.xml?

from tnm4j.

faisal-ksolves avatar faisal-ksolves commented on June 12, 2024

here is my complete pom.xml which is using tnm4j 1.2.0 in Apache NiFi
`

4.0.0 com.pnm pnm 1.0

nifi-PNMtest-processors
jar

<dependency>
    <groupId>org.soulwing.snmp</groupId>
    <artifactId>tnm4j</artifactId>
    <version>1.2.0</version>
</dependency>
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-api</artifactId>
</dependency>
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-utils</artifactId>
    <version>1.20.0</version>
</dependency>
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-mock</artifactId>
    <version>1.20.0</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>org.junit.jupiter</groupId>
    <artifactId>junit-jupiter-api</artifactId>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>org.junit.jupiter</groupId>
    <artifactId>junit-jupiter-engine</artifactId>
    <scope>test</scope>
</dependency>
`

from tnm4j.

ceharris avatar ceharris commented on June 12, 2024

What version of Java are you using at runtime?

from tnm4j.

faisal-ksolves avatar faisal-ksolves commented on June 12, 2024

from tnm4j.

ceharris avatar ceharris commented on June 12, 2024

Are you able to run the examples, particularly Example05_TableRetrievalUsingWalk, as described in the README?

from tnm4j.

faisal-ksolves avatar faisal-ksolves commented on June 12, 2024

from tnm4j.

ceharris avatar ceharris commented on June 12, 2024

I think that if you run mvn dependency:tree in your project, you'll find that one of Apache NiFi dependencies is pulling in a different version of the Mibble dependencies than what is listed in the pom.xml for Tnm4j. You can probably configure an exclusion in your project's pom.xml to keep that from happening.

If you don't know how to interpret the output from mvn dependency:tree, I may be able to help with that.

from tnm4j.

faisal-ksolves avatar faisal-ksolves commented on June 12, 2024

i try the mvn dependency:tree command and it shows the following data
[INFO] com.pnm:nifi-PNMtest-nar:nar:1.0
[INFO] +- com.pnm:nifi-PNMtest-processors:jar:1.0:compile
[INFO] | +- org.soulwing.snmp:tnm4j:jar:1.2.0:compile
[INFO] | | +- org.snmp4j:snmp4j:jar:2.8.12:compile
[INFO] | | +- net.percederberg.mibble:mibble:jar:2.9.3:compile
[INFO] | | | - net.percederberg.grammatica:grammatica:jar:1.5:compile
[INFO] | | +- net.percederberg.mibble:mibble-mibs:jar:2.9.3:runtime
[INFO] | | - org.slf4j:log4j-over-slf4j:jar:2.0.6:provided
[INFO] | - org.apache.nifi:nifi-utils:jar:1.20.0:compile
[INFO] | - org.apache.nifi:nifi-api:jar:1.20.0:provided
[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.9.1:test
[INFO] | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.9.1:test
[INFO] | - org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.9.1:test
[INFO] | - org.junit.platform:junit-platform-engine:jar:1.9.1:test
[INFO] +- org.junit.vintage:junit-vintage-engine:jar:5.9.1:test
[INFO] | - junit:junit:jar:4.13.2:test
[INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.junit.jupiter:junit-jupiter-params:jar:5.9.1:test
[INFO] +- org.mockito:mockito-core:jar:3.12.4:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.11.13:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.11.13:test
[INFO] | - org.objenesis:objenesis:jar:3.2:test
[INFO] +- org.mockito:mockito-junit-jupiter:jar:3.12.4:test
[INFO] +- org.slf4j:slf4j-simple:jar:2.0.6:test
[INFO] | - org.slf4j:slf4j-api:jar:2.0.6:provided
[INFO] - org.codehaus.groovy:groovy-test:jar:3.0.14:test
[INFO] - org.codehaus.groovy:groovy:jar:3.0.14:test

but surely there is no conflict.
can you help me.

Thanks

from tnm4j.

ceharris avatar ceharris commented on June 12, 2024

No conflict with the dependencies such as you've configured them, so I suggest you take a very close look at the runtime environment in which you're using Apache NiFi. That NoSuchMethodError indicates that there's an incompatible version of the net.percederberg.mibble.asn1.Asn1Parser class on the runtime class path.

I've offered as much help as I can offer at this point.

from tnm4j.

Related Issues (20)

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.