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

Dan Tran commented on MOJO-1114:
--------------------------------

dont think you have the right syntax for 


        <style name="bordered">
           <box> 
                <pen lineWidth="1.0"/>
                <topPen lineWidth="1.0"/>
                <leftPen lineWidth="1.0"/>
                <bottomPen lineWidth="1.0"/>
                <rightPen lineWidth="1.0"/>
           </box>
        </style>


and I am not  a jasperreports experts either

The stack trace shows that the generate java code is incorrect due the your bad 
jrxml content.  

java.lang.ClassCastException: net.sf.jasperreports.engine.design.JRDesignStyle 
cannot be cast to net.sf.jasperreports.engine.JRBox
  

according to java doc JRDesignStyle is not compatible with JRBox

> Support Jasper Reports 2.x
> --------------------------
>
>                 Key: MOJO-1114
>                 URL: http://jira.codehaus.org/browse/MOJO-1114
>             Project: Mojo
>          Issue Type: Improvement
>          Components: jasperreports
>            Reporter: Robert Munteanu
>         Attachments: jasper-test-2.zip, jasper-test.zip, maven-2.log, 
> maven.log, pom.xml
>
>
> The plugin can not be used with template files which contain JR 2.x features.
> An upgrade would be more than welcome.

-- 
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