1 回答

TA貢獻(xiàn)1851條經(jīng)驗(yàn) 獲得超3個(gè)贊
org.json應(yīng)該導(dǎo)入Import-Package.
像這樣org.json;resolution:= optional,org.json.JSONObject;resolution:=optional
這是我的清單:
Manifest-Version: 1.0
Bundle-SymbolicName: PhillPlugin
Bundle-Version: 10
Bundle-Name: PhillPlugin
Bundle-Activator: phillplugin.PhillPlugin
Bundle-ManifestVersion: 2
Import-Package: org.osgi.framework;version="1.3.0",oracle.security.am.
plugin,oracle.security.am.plugin.authn,oracle.security.am.plugin.impl
,oracle.security.am.plugin.api,oracle.security.am.common.utilities.pr
incipal,oracle.security.idm,javax.security.auth,org.json;resolution:=
optional,org.json.JSONObject;resolution:=optional
添加回答
舉報(bào)