NoClassDefFoundError: javax/annotation/Priority

Bug #1755458 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dogtag-pki (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi,

I'm just testing the current pre-release version of 18.04 and tried to get the dogtag pki running. Although most things seem to work, there are some details which might show incompatibilities between the pki and the java version.

When running

pki ca authority find

from the command line, I get lots of error messages of the form

WARN: RESTEASY002145: NoClassDefFoundError: Unable to load builtin provider org.jboss.resteasy.plugins.providers.InputStreamProvider from jar:file:/usr/share/java/resteasy-jaxrs.jar!/META-INF/services/javax.ws.rs.ext.Providers
java.lang.NoClassDefFoundError: javax/annotation/Priority
 at org.jboss.resteasy.spi.ResteasyProviderFactory.getPriority(ResteasyProviderFactory.java:1395)
 at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:1433)
 at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:1368)
 at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:71)
 at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31)
 at org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder.getProviderFactory(ResteasyClientBuilder.java:340)
 at org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder.build(ResteasyClientBuilder.java:348)
 at com.netscape.certsrv.client.PKIConnection.<init>(PKIConnection.java:211)
 at com.netscape.certsrv.client.PKIClient.<init>(PKIClient.java:72)
 at com.netscape.cmstools.cli.MainCLI.getClient(MainCLI.java:559)
 at com.netscape.cmstools.cli.CLI.getClient(CLI.java:194)
 at com.netscape.cmstools.cli.CLI.getClient(CLI.java:194)
 at com.netscape.cmstools.authority.AuthorityCLI.getAuthorityClient(AuthorityCLI.java:40)
 at com.netscape.cmstools.authority.AuthorityFindCLI.execute(AuthorityFindCLI.java:61)
 at com.netscape.cmstools.cli.CLI.execute(CLI.java:345)
 at com.netscape.cmstools.cli.CLI.execute(CLI.java:345)
 at com.netscape.cmstools.cli.SubsystemCLI.execute(SubsystemCLI.java:67)
 at com.netscape.cmstools.cli.CLI.execute(CLI.java:345)
 at com.netscape.cmstools.cli.MainCLI.execute(MainCLI.java:633)
 at com.netscape.cmstools.cli.MainCLI.main(MainCLI.java:669)

NoClassDefFoundError: javax/annotation/Priority

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: dogtag-pki 10.5.5-1
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 13 11:48:20 2018
InstallationDate: Installed on 2018-03-05 (8 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180305)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: dogtag-pki
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I guess you don't have libgeronimo-annotation-1.3-spec-java installed? Does installing it make a difference?

Changed in dogtag-pki (Ubuntu):
status: New → Incomplete
Revision history for this message
Hadmut Danisch (hadmut) wrote :

It said it already was the latest version (1.0-1), so it was already installed and had been pulled in by some dependency.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dogtag-pki (Ubuntu) because there has been no activity for 60 days.]

Changed in dogtag-pki (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.