Comments (9)
Are you using the same versions of the Mibble dependencies as those listed in the top level pom.xml
?
from tnm4j.
here is my complete pom.xml which is using tnm4j 1.2.0 in Apache NiFi
`
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.
What version of Java are you using at runtime?
from tnm4j.
from tnm4j.
Are you able to run the examples, particularly Example05_TableRetrievalUsingWalk
, as described in the README?
from tnm4j.
from tnm4j.
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.
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.
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)
- OID to name resolution should find best match
- asyncwalk keeps retrying on TimeoutException HOT 2
- SNMP4J Provider support for SNMP V1 HOT 3
- Can't install with Maven HOT 4
- SNMPContext won't close. HOT 3
- SecurityProtocols.getInstance().addAuthenticationProtocol(new AuthSHA());
- SHA-256 AuthType support for SnmpV3 HOT 2
- Commercial license for tnm4j lib HOT 3
- Is this project still under development ? HOT 1
- Exposed to vulnerabilities ? HOT 1
- Update Depedencies HOT 3
- Unable to set authNoPriv security level HOT 2
- Utilize the repo to load Custom MIB file HOT 3
- SnmpV3 HOT 13
- Update dependencies HOT 1
- Dependencies wont download. HOT 2
- pom.xml repository offline HOT 3
- Back to Apache License HOT 6
- SNMP Listener can not read trap from OIDs that are entries in a table HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tnm4j.