Tycho compiler cannot resolve package sun.misc #1074
Replies: 2 comments
-
Maybe it has to do with
LibrePDF/OpenPDF#704
Lutz Wrage ***@***.***> schrieb am Do., 23. Juni 2022, 18:20:
… I have a plugin that indirectly depends on a 3rd party plugin
com.github.librepdf.openpdf. This plugin's manifest has Import-Package:
...,sun.misc. When I try to build my plugin with tycho, I get the error
below. I found a couple of older posts regarding using sun.misc in an
OSGI environment but nothing really useful.
Does anybody know how to make the compilation work in this situation? (I'm
using tycho 2.7.3 with Java 17).
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.7.3:validate-classpath (default-validate-classpath) on project org.osate.reqtrace: Execution default-validate-classpath of goal org.eclipse.tycho:tycho-compiler-plugin:2.7.3:validate-classpath failed: org.osgi.framework.BundleException: Bundle org.osate.reqtrace cannot be resolved:org.osate.reqtrace [238]
[ERROR] Unresolved requirement: Require-Bundle: org.eclipse.birt.report.engine.emitter.config.pptx; bundle-version="[4.7.0,5.0.0)"
[ERROR] -> Bundle-SymbolicName: org.eclipse.birt.report.engine.emitter.config.pptx; bundle-version="4.9.0.v202203150031"; singleton:="true"
[ERROR] org.eclipse.birt.report.engine.emitter.config.pptx [78]
[ERROR] Unresolved requirement: Require-Bundle: org.eclipse.birt.report.engine.emitter.pptx; bundle-version="4.5.0"
[ERROR] -> Bundle-SymbolicName: org.eclipse.birt.report.engine.emitter.pptx; bundle-version="4.9.0.v202203150031"; singleton:="true"
[ERROR] org.eclipse.birt.report.engine.emitter.pptx [79]
[ERROR] Unresolved requirement: Require-Bundle: com.github.librepdf.openpdf
[ERROR] -> Bundle-SymbolicName: com.github.librepdf.openpdf; bundle-version="1.3.26"
[ERROR] com.github.librepdf.openpdf [1]
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.asn1.cmp; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.asn1.cms; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.asn1.tsp; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.cert; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.cert.jcajce; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.cert.ocsp; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.cms; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.cms.jcajce; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.operator; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.operator.jcajce; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.bouncycastle.tsp; version="[1.68.0,2.0.0)"; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.apache.fop.complexscripts.fonts; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.apache.fop.complexscripts.util; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.apache.fop.fonts.apps; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: org.apache.fop.fonts.truetype; resolution:="optional"
[ERROR] Unresolved requirement: Import-Package: sun.misc
[ERROR] Unresolved requirement: Require-Bundle: org.eclipse.birt.report.engine.emitter.ppt; bundle-version="[3.7.2,5.0.0)"
[ERROR] -> Bundle-SymbolicName: org.eclipse.birt.report.engine.emitter.ppt; bundle-version="4.9.0.v202203150031"; singleton:="true"
[ERROR] org.eclipse.birt.report.engine.emitter.ppt [90]
[ERROR] Unresolved requirement: Require-Bundle: com.github.librepdf.openpdf
[ERROR] -> Bundle-SymbolicName: com.github.librepdf.openpdf; bundle-version="1.3.26"
—
Reply to this email directly, view it on GitHub
<#1074>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUMRARGUALHHGMALC4RM53VQSFF3ANCNFSM5ZU6CKXQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lwrage
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a plugin that indirectly depends on a 3rd party plugin
com.github.librepdf.openpdf
. This plugin's manifest hasImport-Package: ...,sun.misc
. When I try to build my plugin with tycho, I get the error below. I found a couple of older posts regarding usingsun.misc
in an OSGI environment but nothing really useful.Does anybody know how to make the compilation work in this situation? (I'm using tycho 2.7.3 with Java 17).
Beta Was this translation helpful? Give feedback.
All reactions