java - OSGI dependent impact investigate -
i using osgi
, google api
application, libraries not existes in google api, when deploy app osgi throws error:
unresolved requirement: import-package com.google.appengine.repackaged.com.google.common.math com.google.appengine.repackaged.com.google.common.parameterset com.google.inject com.google.inject.util com.google.net.base com.google.httputil com.google.net.rpc
so solved import package:
import-package: \ !com.google.appengine.repackaged.com.google.common.math, !com.google.appengine.repackaged.com.google.common.parameterset,\ !com.google.inject,\ !com.google.inject.util,\ !com.google.net.base,\ !com.google.httputil,\ !com.google.net.rpc,\ *
what's impact app when ignore these libraries?
do have idea?
the impact bundle unable load classes packages, end multiple noclassdeffounderror
and/or classnotfoundexception
.
Comments
Post a Comment