java - class file for org.bouncycastle.cert.ocsp.BasicOCSPResp not found -


i made mistake of running clean on netbeans project, has had no major api changes @ lately. build fails following error: class file org.bouncycastle.cert.ocsp.basicocspresp not found

to knowledge, i'm not using such library in project. did find itext dependency of sort, when comment out of itext-related code, error persists.

i have tried adding 1.49 version of bouncycastle netbeans project, no avail. (actually, did cure first bouncycastle no-class-found error had, second error next problem). looked in archive , found basicocspresp found under org.bouncycastle.ocsp. tried peeking @ versions 1.47, 1.46, , 1.32 , found basicocspresp under org.bouncycastle.ocsp , not org.bouncycastle.cert.ocsp in of them.

here build stacktrace: note: creating static metadata factory ...

error: com.sun.tools.javac.code.symbol$completionfailure: class file       org.bouncycastle.cert.ocsp.basicocspresp not found 

an annotation processor threw uncaught exception. consult following stack trace details.

java.lang.runtimeexception: com.sun.tools.javac.code.symbol$completionfailure: class file org.bouncycastle.cert.ocsp.basicocspresp not found @ org.eclipse.persistence.internal.jpa.modelgen.canonicalmodelprocessor.process(canonicalmodelprocessor.java:407) @ com.sun.tools.javac.processing.javacprocessingenvironment.callprocessor(javacprocessingenvironment.java:627) @ com.sun.tools.javac.processing.javacprocessingenvironment.discoverandrunprocs(javacprocessingenvironment.java:556) @ com.sun.tools.javac.processing.javacprocessingenvironment.doprocessing(javacprocessingenvironment.java:701) 

bouncy castle has classes in several jars. basicocspresp need make sure bcpkix jar on classpath. latest version bcpkix-jdk15on-149.jar.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -