Jboss Fuse, error: No feature named 'commons-dbcp2' with version '0.0.0' available
Jboss Fuse, error: No feature named 'commons-dbcp2' with version '0.0.0' available
当我尝试安装我的包时
mvn:br.com.mycompany/integration/1.0.0-SNAPSHOT
我收到以下错误:
Unable to start bundle mvn:br.com.dbitech/animus/1.0.0-SNAPSHOT: Unresolved constraint in bundle Integration [359]: Unable to resolve 359.0: missing requirement [359.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp2)(version>=2.1.0)(!(version>=3.0.0)))
当我尝试安装 dbcp2 功能时,出现以下错误:
Error executing command: No feature named 'commons-dbcp2' with version '0.0.0' available
如何安装保险丝索引中没有的功能?
我找到了如何安装依赖项:
在这种情况下,我需要包装捆绑包和您的依赖项:
osgi:install -s wrap:mvn:org.apache.commons/commons-pool2/2.4.2
osgi:install -s wrap:mvn:org.apache.commons/commons-dbcp2/2.1.1
当我尝试安装我的包时
mvn:br.com.mycompany/integration/1.0.0-SNAPSHOT
我收到以下错误:
Unable to start bundle mvn:br.com.dbitech/animus/1.0.0-SNAPSHOT: Unresolved constraint in bundle Integration [359]: Unable to resolve 359.0: missing requirement [359.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp2)(version>=2.1.0)(!(version>=3.0.0)))
当我尝试安装 dbcp2 功能时,出现以下错误:
Error executing command: No feature named 'commons-dbcp2' with version '0.0.0' available
如何安装保险丝索引中没有的功能?
我找到了如何安装依赖项:
在这种情况下,我需要包装捆绑包和您的依赖项:
osgi:install -s wrap:mvn:org.apache.commons/commons-pool2/2.4.2
osgi:install -s wrap:mvn:org.apache.commons/commons-dbcp2/2.1.1