364,083 Members | 5932 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

problem with jpcap : simple packet sniffer program

haribuvanesh
P: 1
Im working with a packet sniffer program and i get following exception on compilation. Plz help me out....

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method loopPacket(int, PacketReceiver) in the type JpcapCaptor is not applicable for the arguments (int, JpcapTip)
Dec 24 '07 #1
Share this Question
Share on Google+
3 Replies


sicarie
Expert Mod 2.5K+
P: 4,074
Cool, that's an error.

The message tells you that your types don't match, but I'm not sure what you want from us - that's like waking to an auto shop, leaving your car at home and saying, "My car won't start, what do I do to fix it." I have no idea - where's the code that threw this exception?
Dec 24 '07 #2

BigDaddyLH
Expert 100+
P: 1,115
That error sounds like two modules aren't interfacing correctly -- perhaps one of your jar files is not the right version. Or you've just managed to tickle some error in the workings of the application. This is a general Java forum and you'd do better if you can get some help for that specific program. If you bought it, there must be some support that comes with it. And in any case, there maybe a listing of known bugs or a mailing list or forum at the website of the company that created it.
Dec 25 '07 #3

dmjpro
100+
P: 2,474
Im working with a packet sniffer program and i get following exception on compilation. Plz help me out....

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method loopPacket(int, PacketReceiver) in the type JpcapCaptor is not applicable for the arguments (int, JpcapTip)
Send the method "loopPacket" code and where you call this method ...
Please send me those relevant code.

Debasis Jana
Dec 26 '07 #4

Post your reply

Help answer this question



Didn't find the answer to your Java question?

You can also browse similar questions: Java