2016-02-12 23 views
-1

的Karaf輸出作爲下:如何獲得與JBoss-Fuse-6.1.0.redhat-355一起打包的jms快速入門?

JBossFuse:[email protected]> features:addurl mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-355/xml/features 
JBossFuse:[email protected]> features:install quickstart-jms 
[Fatal Error] :6:3: The element type "hr" must be terminated by the matching end-tag "</hr>". 
Error executing command: The element type "hr" must be terminated by the matching end-tag "</hr>". 

我正在使用這個HTML元素是在哪裏我不知道。

log:display-exception顯示:

2016-02-12 07:36:24,571 | INFO | l Console Thread | Console | ? 
? | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610355 | Exception caught while executing command 
org.xml.sax.SAXParseException: The element type "hr" must be terminated by the matching end-tag "</hr>". 

JBossFuse:[email protected]> log:display-exception 
org.xml.sax.SAXParseException: The element type "hr" must be terminated by the matching end-tag "</hr>". 

    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[:] 
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)[:] 
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)[:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java: 
52)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl 
.java:215)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:256)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeatures(FeaturesServiceImpl.java:1 
015)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeature(FeaturesServiceImpl.java:97 
3)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.jav 
a:395)[23:org.apache.karaf.features.core:2.3.0.redhat-610355] 
    at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java: 
62)[37:org.apache.karaf.features.command:2.3.0.redhat-610355] 
    at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.jav 
a:41)[37:org.apache.karaf.features.command:2.3.0.redhat-610355] 
    at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org. 
apache.karaf.shell.console:2.3.0.redhat-610355] 
    at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org. 
apache.karaf.shell.console:2.3.0.redhat-610355] 
    at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] 
    at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] 
    at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] 
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] 
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] 
    at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610355] 
    at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610355] 

JBossFuse:[email protected]> 

如果有人可以幫助我得到這個工作,這將有助於。

TIA

+1

檢查您的maven存儲庫中的下載功能。你可能背後的代理已經返回一個HTML頁面,而不是一個功能 –

+0

我這樣做是從我的家庭辦公室,我沒有任何代理設置。 – ZeroGraviti

回答

0

我得到了最快速入門的(包括在JMS之一)對這個版本中運行 - >jboss-fuse-6.0.0.redhat-024。我的JDK是1.7.0_60並設置爲JAVA_HOME