当前位置: 首页 > 知识库问答 >
问题:

无法构建BIRT-4.11.0

祝灼光
2023-03-14

我拉了BIRT源分支4.11.0(https://github.com/eclipse/birt)如前所述,使用maven(mvn package-DskipTests)触发了构建,但由于无法解析依赖项而失败。

分析后发现Tycho maven插件无法解析org.eclipse.birt.p2updatesite/pom.xml(\build\org.eclipse.birt.p2updatesite)中提到的依赖项。正如Tycho wiki中提到的http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting检查了所有提到的p2存储库是否可用。

BIRT文档没有帮助,因为它已经过时了。

以下是我使用的:

>

Maven 3.6.1

堆栈跟踪-

[INFO] Computing target platform for MavenProject: org.eclipse.birt:org.eclipse.birt.p2updatesite:4.11.0-SNAPSHOT @ C:\dev\git\birt\build\org.eclipse.birt.p2updatesite\pom.xml
[DEBUG] Using default execution environment 'JavaSE-1.7'
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts@C%253A%255Cdev%255Cgit%255Cbirt%255Cbuild%255Corg.eclipse.birt.p2updatesite)
[DEBUG] Added 0 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject: org.eclipse.birt:org.eclipse.birt.p2updatesite:4.11.0-SNAPSHOT @ C:\dev\git\birt\build\org.eclipse.birt.p2updatesite\pom.xml
[DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.birt.axis.overlay 4.11.0.qualifier to bundle org.apache.axis 1.4.0.;
...
...
...
 No solution found because the problem is unsatisfiable.]
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.birt.designer 4.11.0.qualifier
[ERROR]   Missing requirement: org.eclipse.birt.designer 4.11.0.qualifier requires 'org.eclipse.platform.feature.group 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.birt:org.eclipse.birt.p2updatesite:4.11.0-SNAPSHOT @ C:\dev\git\birt\build\org.eclipse.birt.p2updatesite\pom.xml: See log for details -> [Help 1]
org.apache.maven.MavenExecutionException: Cannot resolve dependencies of MavenProject: org.eclipse.birt:org.eclipse.birt.p2updatesite:4.11.0-SNAPSHOT @ C:\dev\git\birt\build\org.eclipse.birt.p2updatesite\pom.xml
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:100)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.eclipse.tycho.artifacts.DependencyResolutionException: Cannot resolve dependencies of MavenProject: org.eclipse.birt:org.eclipse.birt.p2updatesite:4.11.0-SNAPSHOT @ C:\dev\git\birt\build\org.eclipse.birt.p2updatesite\pom.xml
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:202)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:116)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:367)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:335)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:117)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.eclipse.tycho.p2.util.resolution.ResolverException: See log for details
    at org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve (ProjectorResolutionStrategy.java:88)
    at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.resolve (AbstractResolutionStrategy.java:42)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:195)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:116)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:367)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:335)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:117)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

有人能够从头开始构建最新的BIRT源代码吗?我不知道是否有人注意到它?

附言:我开始用干净的石板建造,也就是说什么都没有。m2和。p2文件夹。

共有1个答案

徐新荣
2023-03-14

你可以试试https://github.com/flugtiger/birt相反至少在几个月前我尝试建造BIRT时,这是有效的。

请注意,这不是官方的BIRT版本。

 类似资料:
  • 我是BIRT的新手,今天已经为Java和报表开发人员下载了Eclipse IDE。 在完成了一个教程之后,当我准备好预览我的报告时,我点击了“在Web Viewer上查看报告”和许多其他选项,但它总是为我启动Notepad+。 我的IDE有问题吗? 请指教。谢谢你抽出时间。 注意到错误日志中有一些错误,不确定这是否会影响报表的预览: java.lang.NullPointerException

  • 我正在使用BIRT运行时引擎4.2.1 1.我已将以下jar移动到birt-runtime-4_2_1\ReportEngine\lib文件夹2.更改代码以使用spudsoft发射器`公共类RunReport{ 执行报表时收到以下错误。 我错过了任何步骤或配置吗! 注意:我正在尝试使用spudsoft发射器作为默认发射器,打开excel时出现以下错误提示。

  • 我打算在eclipse上安装BIRT 我正在从http://download.eclipse.org/birt/update-site/4.2下载 无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:Eclipse BIRT示例4.2.2.V201210101433-7T7D7DDZRDKRKELIKJED(org.Eclipse.BIRT.Example.feature.group 4

  • 问题内容: 直到几天前,它仍能正常工作,而当我今天再次尝试构建它时,终端中出现以下错误。我尝试使用多个docker基本映像,但仍给出相同的错误。谁能帮我这个?我不认为我错过了任何东西。如果我错过了,应该早点给我错误,但是现在为什么呢? 而我的docker版本是 这是我的 问题答案: 我刚刚更改了VM Player网络设置。从更改为。现在工作了

  • 我能够使用m2e(Maven integration for Eclipse)从这里提取BIRT源代码(4.2.2分支):https://github.com/Eclipse/BIRT/并将其导入到我的Eclipse工作区。BIRT文档(https://wiki.eclipse.org/BIRT/faq/birt_project#q:_how_to_build_birt_3.7.1.2b_from

  • BIRT是一个Eclipse-based开放源代码报表系统。它主要是用在基于Java与J2EE的Web应用程序上。BIRT主要由两部分组成:一个是基于Eclipse的报表设计和一个可以加到你应用服务的运行期组件。BIRT同时也提供一个图形报表制作引擎。