With org.openntf.domino.xsp.Activator.instance.getBundle().getHeaders().get("Bundle-Version") I get NoClassDefFoundError: org/osgi/framework/Bundle.
So I tried org.openntf.domino.xsp.Activator.getVersion() but then I get AccessControlException: Access denied ("org.osgi.framework.AdminPermission" "(id=62)" "metadata”).
With
org.openntf.domino.xsp.Activator.instance.getBundle().getHeaders().get("Bundle-Version")
I getNoClassDefFoundError: org/osgi/framework/Bundle
.So I tried
org.openntf.domino.xsp.Activator.getVersion()
but then I getAccessControlException: Access denied ("org.osgi.framework.AdminPermission" "(id=62)" "metadata”)
.