Skip to content
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

Class not found exception #50

Closed
Gracemansam opened this issue Apr 17, 2024 · 7 comments
Closed

Class not found exception #50

Gracemansam opened this issue Apr 17, 2024 · 7 comments

Comments

@Gracemansam
Copy link

Hello Hank-cp . Pls I tried implement the sbp library in my project but I keep getting ClassnotFoundException. Pls what am I not doing right?
Uploading sbp.PNG…

@hank-cp
Copy link
Owner

hank-cp commented Apr 18, 2024

To help you solving issues better, I've setup issue templates to make issue description more clear and concise. So I will close this issue and please re-submit it as asked format.

BTW, you didn't upload the image file correctly.

@hank-cp hank-cp closed this as completed Apr 18, 2024
@Gracemansam
Copy link
Author

Hello, What I am saying is that when I truing running the application, below is what I get. Pls any solution?

java.lang.ClassNotFoundException: com.sampleplugin.AdminPlugin
at org.pf4j.PluginClassLoader.loadClass(PluginClassLoader.java:144) ~[pf4j-3.8.0.jar:3.8.0]
at org.laxture.sbp.internal.SpringBootPluginClassLoader.loadClass(SpringBootPluginClassLoader.java:102) ~[sbp-core-3.2.23.jar:na]
at org.pf4j.DefaultPluginFactory.create(DefaultPluginFactory.java:46) ~[pf4j-3.8.0.jar:3.8.0]
at org.pf4j.PluginWrapper.getPlugin(PluginWrapper.java:81) ~[pf4j-3.8.0.jar:3.8.0]
at org.laxture.sbp.SpringBootPluginManager.doStartPlugins(SpringBootPluginManager.java:159) ~[sbp-core-3.2.23.jar:na]
at org.laxture.sbp.SpringBootPluginManager.startPlugins(SpringBootPluginManager.java:248) ~[sbp-core-3.2.23.jar:na]
at org.laxture.sbp.internal.MainAppStartedListener.onApplicationEvent(MainAppStartedListener.java:43) ~[sbp-core-3.2.23.jar:na]
at org.laxture.sbp.internal.MainAppStartedListener.onApplicationEvent(MainAppStartedListener.java:31) ~[sbp-core-3.2.23.jar:na]

@Gracemansam
Copy link
Author

sbp1

@Gracemansam
Copy link
Author

sbp2

@Gracemansam
Copy link
Author

spb3

@Gracemansam
Copy link
Author

sbp4

@hank-cp
Copy link
Owner

hank-cp commented Apr 18, 2024

Could you create a repo to reproduce this issue? I coundn't tell anything by your screenshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants