[ 
http://jira.codehaus.org/browse/MOJO-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172805#action_172805
 ] 

Brian Bonner commented on MOJO-1338:
------------------------------------

If you have any other suggestions, I'm all ears.  

Here's the -e error trace:

C:\work\workspace\OptimizerWeb>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building OptimizerWeb Maven Webapp
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [properties:read-project-properties {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] DEPRECATED [keepJava]: There seems to be an issue with the compiler pl
ugin
so don't expect this to work yet - the dependencies
will have disappeared.
[INFO] [jasperreports:compile-reports {execution: default}]
[INFO] Compiling 207 report design files.
[INFO] Compiling report file: customerContractAffiliations\customerContractAffil
iations.jrxml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : org.codehaus.mojo.jasperreports.jasperreportsm...@1672bbb
Error compiling report design : C:\work\workspace\OptimizerWeb\src\main\resource
s\reports\customerContractAffiliations\customerContractAffiliations.jrxml

Error compiling report design : C:\work\workspace\OptimizerWeb\src\main\resource
s\reports\customerContractAffiliations\customerContractAffiliations.jrxml : Repo
rt design not valid :
         1. java.lang.ClassNotFoundException: xxx.client.mod
el.Customer
         2. java.lang.ClassNotFoundException: xxx.client.mod
el.CustomerAlignment
         3. java.lang.ClassNotFoundException: xxx.client.mod
el.CustomerContractAffiliation
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Error compiling report design : C:\work\
workspace\OptimizerWeb\src\main\resources\reports\customerContractAffiliations\c
ustomerContractAffiliations.jrxml
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:579)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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)
Caused by: org.apache.maven.plugin.MojoFailureException: Error compiling report
design : C:\work\workspace\OptimizerWeb\src\main\resources\reports\customerContr
actAffiliations\customerContractAffiliations.jrxml
        at org.codehaus.mojo.jasperreports.JasperReportsMojo.compile(JasperRepor
tsMojo.java:236)
        at org.codehaus.mojo.jasperreports.JasperReportsMojo.execute(JasperRepor
tsMojo.java:191)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Apr 13 15:11:54 EDT 2009
[INFO] Final Memory: 12M/22M
[INFO] ------------------------------------------------------------------------




> updated Mojo pom with version 3.1.2 of JasperReports
> ----------------------------------------------------
>
>                 Key: MOJO-1338
>                 URL: http://jira.codehaus.org/browse/MOJO-1338
>             Project: Mojo
>          Issue Type: Improvement
>          Components: jasperreports
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Brian Bonner
>         Attachments: updateJasperVersionPatch.txt, 
> updateJasperVersionPatch.txt
>
>
> JasperReport plugin was configured to use an older version of JasperReports.  
> The new plugin compiles the classes with a new version (3.1.2) of 
> JasperReports.
> The older version had problems with supporting older java files as well as 
> properly compiling custom classes -- resulting in ClassNotFoundExceptions.  
> While attempting to debug the JasperReportPlugin -- and updating the pom to 
> the newest version, the compilation problem went away.
> I also updated CommonsLogging to 1.0.4 since our project uses this newer 
> version (I anticipate that it's backwards compatible to 1.0.3)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to