Good morning.
I've opened, edited and saved, with iReport 3.6.0, a report, originally created with iReport 3.0.0. When I compile my report I get this strange WARNING:
11-nov-2009 9.27.03 net.sf.jasperreports.engine.component.ComponentsEnvironment findComponentBundles
WARNING: Found two components for namespace http://jasperreports.sourceforge.net/jasperreports/components
what this means?
Post Edited by cn73 at 12/11/2009 09:16
5 Answers:
Posted on November 17, 2009 at 12:33am
the "problem" occurs when compiling the report in my project, through jasperreports-maven-plugin ... so in the pom I must use a double dependence, one for Plugin, the other for the project. Now it is clear the cause, thanks;)
Code: |
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jasperreports-maven-plugin</artifactId> <configuration> <sourceDirectory> src/main/jasperreports </sourceDirectory> <outputDirectory> src/main/resources/jasperbin </outputDirectory> <javaDirectory> target/jasperreports/java </javaDirectory> <!-- <keepJava>true</keepJava> --> </configuration> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>compile-reports</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>3.5.3</version> <scope>provided</scope> </dependency> </dependencies> </plugin></td></tr></tbody></table> |