You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a Java plugin for Atlassian Jira (On-Premise) and try to implement truelicense to license our plugin.
Everything works in the local testing / development from IntelliJ / Maven and the public.ks file is visible in target/classes/public.ks. If I extract my *.jar file I also can see the file.
I've installed the public in my standalone server instance and the truelicense libraries / dependencies are correctly loaded and can be used.
It always throw FileNotFoundException on manager.install(source).
2022-09-10 11:03:47,311+0200 inputStream.available() 1378
2022-09-10 11:03:47,311+0200 Loading publicKsURL from bundle://295.0:1/public.ks
2022-09-10 11:03:47,312+0200 Loading resource1 from bundle://295.0:1/public.ks
2022-09-10 11:03:47,312+0200 Loading resource2 from bundle://295.0:1/public.ks
2022-09-10 11:03:47,312+0200 Loading resource3 from bundle://295.0:1/public.ks
2022-09-10 11:03:47,312+0200 Loading resource4 from bundle://295.0:1/public.ks
If I replace the filename with something different if failes with a NullPointerException. So for me it looks like that the public.ks is in the classpath. truelicense doesn't picks it.
Did I miss something? I'm slowly running out of ideas and I hope you can give me some hint.
Kind Regards,
Tim
The text was updated successfully, but these errors were encountered:
Hello,
I'm building a Java plugin for Atlassian Jira (On-Premise) and try to implement truelicense to license our plugin.
Everything works in the local testing / development from IntelliJ / Maven and the
public.ks
file is visible intarget/classes/public.ks
. If I extract my *.jar file I also can see the file.I've installed the public in my standalone server instance and the truelicense libraries / dependencies are correctly loaded and can be used.
It always throw FileNotFoundException on
manager.install(source)
.I've also did some research... https://developer.atlassian.com/server/confluence/what-is-the-best-way-to-load-a-class-or-resource-from-a-plugin/
I've tried multiple variants.
If I replace the filename with something different if failes with a NullPointerException. So for me it looks like that the
public.ks
is in the classpath. truelicense doesn't picks it.Did I miss something? I'm slowly running out of ideas and I hope you can give me some hint.
Kind Regards,
Tim
The text was updated successfully, but these errors were encountered: