Jump to content
We've recently updated our Privacy Statement, available here ×

WARNING: Found two components for namespace


cn73

Recommended Posts

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
Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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>
Link to comment
Share on other sites

  • 1 year later...
  • 8 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...