I'm trying to get the Birt View Report running through Maven, but I'm encountering problems for some days now and I can't seem to find a solution. I use the following Depedency:
我正试图通过Maven运行Birt View报告,但是我现在遇到问题已有几天了,我似乎无法找到解决方案。我使用以下Depedency:
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>viewservlets</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.birt</groupId>
<artifactId>engineapi</artifactId>
<version>2.3.2</version>
</dependency>
When I run this I get a blank page with my executable tomcat package and when I place it in my 'manual' tomcat I this:
当我运行这个时,我得到一个带有可执行tomcat包的空白页面,当我把它放在我的'手册'tomcat中时我这样:
org.apache.catalina.core.standardcontext.startinternal error listenerstart
org.apache.catalina.core.standardcontext.startinternal error listenerstart
Am I forgetting something? When I copy the lib folder from the WebViewerExample in the project en not use these depedencies it works, but that's not the way ^^
我忘了什么吗?当我从项目中的WebViewerExample复制lib文件夹时,不使用这些依赖关系它可以工作,但那不是那样的方式^^
1 个解决方案
#1
1
<properties>
<spring.version>3.1.1.RELEASE</spring.version>
<birt.runtime.version>4.3.0</birt.runtime.version>
</properties>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>${birt.runtime.version}</version>
<exclusions>
<exclusion>
<artifactId>org.apache.poi</artifactId>
<groupId>org.eclipse.birt.runtime</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.9</version>
</dependency>
#1
1
<properties>
<spring.version>3.1.1.RELEASE</spring.version>
<birt.runtime.version>4.3.0</birt.runtime.version>
</properties>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>${birt.runtime.version}</version>
<exclusions>
<exclusion>
<artifactId>org.apache.poi</artifactId>
<groupId>org.eclipse.birt.runtime</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.9</version>
</dependency>