JBoss Fuse Hello World - Missing Manifest问题

时间:2017-06-28 01:28:32

标签: jboss jbossfuse jboss-developer-studio

我试图按照红帽JBoss保险丝的hello world程序中列出的步骤进行操作:https://developers.redhat.com/products/fuse/hello-world/

当我去部署捆绑包时,我收到一条错误消息"无法检索捆绑包详细信息以进行部署。可能的原因是Manifest丢失或无效。"

有没有人知道我做错了什么?

这是我从pom.xml获取的跟踪:

  

org.apache.maven.plugin.MojoExecutionException:内部错误   行家束-插件       在org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:119)       在org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:387)       在org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:378)       在org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)       在org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)       在org.eclipse.m2e.core.internal.embedder.MavenImpl $ 11.call(MavenImpl.java:1362)       在org.eclipse.m2e.core.internal.embedder.MavenImpl $ 11.call(MavenImpl.java:1)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)       在org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360)       在org.sonatype.tycho.m2e.felix.internal.MavenBundlePluginConfigurator $ 1.build(MavenBundlePluginConfigurator.java:125)       在org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)       在org.eclipse.m2e.core.internal.builder.MavenBuilder $ 1.method(MavenBuilder.java:172)       在org.eclipse.m2e.core.internal.builder.MavenBuilder $ 1.method(MavenBuilder.java:1)       在org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod $ 1 $ 1.call(MavenBuilder.java:115)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)       在org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod $ 1.call(MavenBuilder.java:105)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)       在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)       在org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod.execute(MavenBuilder.java:86)       在org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)       在org.eclipse.core.internal.events.BuildManager $ 2.run(BuildManager.java:735)       在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)       在org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)       在org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)       在org.eclipse.core.internal.events.BuildManager $ 1.run(BuildManager.java:301)       在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)       在org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)       在org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)       在org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)       在org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)       在org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)       在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

     

引起:java.lang.IllegalStateException:Calc清单失败,   状态=

     

{pom.id = com.mycompany:骆驼蓝图-CBR:束:1.0.0-快照   file.encoding.pkg = sun.io,   org.osgi.framework.executionenvironment = OSGi的/最小-1.0,OSGi的/最小-1.1,OSGi的/最小-1.2,JavaSE的/ compact1-1.8,JavaSE的/ compact2-1.8,JavaSE的/ compact3-1.8,JRE-1.1,J2SE- 1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE的-1.6,JavaSE的-1.7,JavaSE的-1.8,   env.PROMPT = $ P $ G,   osgi.framework =文件:/ C:/Users/z1234567/devstudio/studio/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar,   version.maven-bundle-plugin = 3.2.0,java.home = C:\ Program   文件\的Java \ jdk1.8.0_121 \ jre的,   eclipse.application = org.eclipse.ui.ide.workbench,pom.contributors = [],   org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed = TRUE,   project.build.developers = [],project.description = Camel Content-Based   路由器示例,   pom.pomFile = C:\用户\ z1234567 \ JBOSS_studio_workspace \熔断器骆驼CBR \的pom.xml,   java.endorsed.dirs = C:\程序   文件\的Java \ jdk1.8.0_121 \ JRE \ LIB \认可,   project.build.groupId = com.mycompany,env.USERNAME = z1234567,   sun.os.patch.level = Service Pack 1,   java.vendor.url = ******* java.oracle.com/,env.COMPUTERNAME = AAAAAAAB,   env。= C:= C:\ Users \ z1234567 \ devstudio,pom.profiles = [],   行家-symbolicname = com.mycompany.camel-蓝图-CBR,   java.version = 1.8.0_121,   osgi.compatibility.bootdelegation.default = true,osgi.os = win32,   osgi.compatibility.bootdelegation =真,

...

1 个答案:

答案 0 :(得分:0)

根据提供的错误,您似乎遇到了Tycho m2e与maven-bundle-plugin集成的错误(这个错误已被报告,但我无法再找到) 大部分时间工作的解决方法包括刷新Maven项目(Alt + F5)

的问候,