an error when "features:install camel-activemq"

1.   an error when "features:install  camel-activemq"

error :

cause : the internet connection to the camel official website  is down

 

2. PnGPO-PO-7.0.1.jar error

Could not find matching export for Import-Package: javax.persistence; version="3
.0.0"
Could not find matching export for Import-Package: javax.persistence.spi; versio
n="3.0.0"
Here started
 ____                  _          __  __ _
/ ___|  ___ _ ____   _(_) ___ ___|  //  (_)_  __
/___ / / _ / '__/ / / / |/ __/ _ / |//| | / // /
 ___) |  __/ |   / V /| | (_|  __/ |  | | |>  <
|____/ /___|_|    /_/ |_|/___/___|_|  |_|_/_//_/

  Apache ServiceMix (4.3.0-fuse-03-00)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.

karaf@root>
karaf@root> osgi:list  |grep middle
[ 207] [Installed  ] [            ] [       ] [   60] middle_name (7.0.1)
karaf@root> osgi:restart 207
Error executing command: The bundle "middle_car_providers_7.0.1 [207]" could not
 be resolved. Reason: Missing Constraint: Import-Package: org.apache.servicemix.
bean; version="2009.1.0"
karaf@root>

 

 

 

3. deploy CarrefourPO_JpaIdempotent2_artifact-7.0.1.jar  error


D:/Java/apache-servicemix-4.3.0-fuse-03-00/bin>set KARAF_DEBUG=TRUE
servicemix.bat: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Listening for transport dt_socket at address: 5005
middle  Car and providers started.
Here started
fileprocessor_portable_CarrefourPO started.
fileprocessor_portable_PnGPO started.
 ____                  _          __  __ _
/ ___|  ___ _ ____   _(_) ___ ___|  //  (_)_  __
/___ / / _ / '__/ / / / |/ __/ _ / |//| | / // /
 ___) |  __/ |   / V /| | (_|  __/ |  | | |>  <
|____/ /___|_|    /_/ |_|/___/___|_|  |_|_/_//_/

  Apache ServiceMix (4.3.0-fuse-03-00)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.

karaf@root> Could not find matching export for Import-Package: javax.persistence; version="3.0.0"
Could not find matching export for Import-Package: javax.persistence.spi; version="3.0.0"
Exception in thread "SpringOsgiExtenderThread-11" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionTemplate' defined in URL [bundleentry://246.fwk28497887/META-INF/spring/camel-file.xml]: Cannot create inner bean 'org.springframework.orm.jpa.JpaTransactionManager#ca5a40' of type [org.springframework.orm.jpa.JpaTransactionManager] while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.JpaTransactionManager#ca5a40' de
fined in URL [bundleentry://246.fwk28497887/META-INF/spring/camel-file.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
        at java.lang.Thread.run(Thread.java:636)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.JpaTransactionManager#ca5a40' defined in URL [bundleentry://246.fwk28497887/META-INF/spring/camel-file.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:955)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:901)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
        ... 17 more
Caused by: java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2406)
        at java.lang.Class.getConstructor0(Class.java:2716)
        at java.lang.Class.getDeclaredConstructor(Class.java:2002)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:63)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:948)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: javax.persistence.PersistenceException
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 27 more

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值