I cleaned everything in the repository and ran it again, but still reached the same error.
mraible wrote: > > The only thing I can think of is you might have a corrupt local > repository. If you clean your local repo out and try again, does it > work? > > Matt > > On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote: >> >> Dear Matt, >> >> The error messages are still the same with "mvn -e". >> >> >> mraible wrote: >> > >> > Do you see any better errors if you run "mvn -e"? >> > >> > On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote: >> >> >> >> My JasperReports used to work with v2M4. >> >> Unfortunately, it causes the following error while executing "mvn" >> after >> >> upgrading to M5: >> >> >> >> ====================================================================== >> >> >> >> >> >> C:\Work\EclipseWorkspace\myproject_sample_m5>mvn >> >> [INFO] Scanning for projects... >> >> [INFO] >> >> >> ---------------------------------------------------------------------------- >> >> [INFO] Building AppFuse Struts 2 Application >> >> [INFO] task-segment: [install] >> >> [INFO] >> >> >> ---------------------------------------------------------------------------- >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] FATAL ERROR >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] null >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Trace >> >> java.lang.NullPointerException >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:164) >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:334) >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:334) >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:75) >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2 >> >> 84) >> >> at >> >> >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2 >> >> 72) >> >> at >> >> >> org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1238) >> >> at >> >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:397) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48 >> >> 0) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav >> >> a:311) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) >> >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> >> at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> at >> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >> at >> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 2 seconds >> >> [INFO] Finished at: Wed May 30 01:34:16 CST 2007 >> >> [INFO] Final Memory: 8M/14M >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> >> >> ====================================================================== >> >> >> >> My environment: >> >> v2M5 + Struts + Basic archetype + Hibernate >> >> >> >> My pom.xml: >> >> >> >> <dependencies> >> >> ........ >> >> <!-- JasperReports dependencies start --> >> >> <dependency> >> >> <groupId>jasperreports</groupId> >> >> <artifactId>jasperreports</artifactId> >> >> <version>1.3.1</version> >> >> <!-- <scope>runtime</scope>--> >> >> </dependency> >> >> <!-- <dependency>--> >> >> <!-- <groupId>jasperreports</groupId>--> >> >> <!-- <artifactId>iTextAsian</artifactId>--> >> >> <!-- <version>20030811</version>--> >> >> <!-- <scope>runtime</scope>--> >> >> <!-- </dependency>--> >> >> <!-- <dependency>--> >> >> <!-- <groupId>org.apache.struts</groupId>--> >> >> <!-- >> <artifactId>struts2-jasperreports-plugin</artifactId>--> >> >> <!-- <version>2.0.6</version>--> >> >> <!-- <scope>runtime</scope>--> >> >> <!-- </dependency>--> >> >> <!-- <dependency>--> >> >> <!-- <groupId>poi</groupId>--> >> >> <!-- <artifactId>poi-2.5.1-final</artifactId>--> >> >> <!-- <version>20040804</version>--> >> >> <!-- </dependency>--> >> >> <!-- <dependency>--> >> >> <!-- <groupId>commons-collections</groupId>--> >> >> <!-- >> <artifactId>commons-collections</artifactId>--> >> >> <!-- <version>3.2</version>--> >> >> <!-- </dependency>--> >> >> <!-- JasperReports dependencies end --> >> >> </dependencies> >> >> >> >> ====================================================================== >> >> >> >> I searched the web but could not find any clues. >> >> My best guess is the dependency conflict with maven, however, I have >> no >> >> idea >> >> on how to solve it. >> >> Any suggestions? Thanks in advance. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/M5-conflict-with-JasperReports-tf3835423s2369.html#a10858876 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> > >> >> -- >> View this message in context: >> http://www.nabble.com/M5-conflict-with-JasperReports-tf3835423s2369.html#a10859716 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> > -- View this message in context: http://www.nabble.com/M5-conflict-with-JasperReports-tf3835423s2369.html#a10860429 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
