-
Notifications
You must be signed in to change notification settings - Fork 4
Problem adding the example... #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @Viox-LJ I'm happy to help, but you're going to need to give me a bit more information to help diagnose what is going on. Which jar are you uploading? How was it packaged/built? What class are you trying to reference? What values are putting in for each input box in the app? Thanks! |
Hi Stephen, i make the jar downloading this code and execute "mvn package", after that in the target folder have the .jar file. https://imgur.com/18iurh7 Thx for your support. |
Hey @Viox-LJ I think I see the issue. In the box labeled "fully qualified class name" you need to enter the full classname including it's package. So for example If you are attempting to use the StringSearchFilter class referenced here package examples.filter;
import org.sourcelab.kafka.webview.ui.plugin.filter.RecordFilter;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* Example filter that only passes records that contain a configured String value.
*/
public class StringSearchFilter implements RecordFilter { You would need to enter: examples.filter.StringSearchFilter This is the package name plus the class name, which provides the complete classpath. Give that a shot and let me know if it works for you. Thanks |
@Viox-LJ are you testing kafka-webview on windows? |
Hi, when I try to add the .jar always give me the error:
Unable to find class...
Can anyone help me?
Thx.
BR
The text was updated successfully, but these errors were encountered: