You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/06/10 21:43:07 UTC

[jira] Commented: (AXIS2-4371) Unable to compile class for JSP: axis2-web/viewphases.jsp

    [ https://issues.apache.org/jira/browse/AXIS2-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718169#action_12718169 ] 

Andreas Veithen commented on AXIS2-4371:
----------------------------------------

We should actually compile the JSPs during the build to detect this type of error earlier.

> Unable to compile class for JSP: axis2-web/viewphases.jsp
> ---------------------------------------------------------
>
>                 Key: AXIS2-4371
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4371
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: admin console
>    Affects Versions: 1.5
>         Environment: Java 5, tomcat 5
>            Reporter: Alexis Midon
>            Assignee: Andreas Veithen
>            Priority: Critical
>         Attachments: AXIS2-4371.log.txt
>
>
> Compilation errors in axis-admin console.
> To reproduce:
>  . go the axis2/axis2-admin
>  . click "Available phases"   (axis2/axis2-admin/listPhases)
>  . traces appear in the server console
> Below is one of the error messages, see the attached log file for more.
> An error occurred at line: 28 in the jsp file: /axis2-web/viewphases.jsp
> Type mismatch: cannot convert from List<Phase> to ArrayList
> 25:      <%
> 26:          PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST);
> 27:          request.getSession().setAttribute(Constants.PHASE_LIST,null);
> 28:          ArrayList tempList = phases.getGlobalInflow();
> 29:      %><h2><font color="blue">System Pre-defined Phases</font></h2>
> 30:      <b>InFlow Up to Dispatcher</b>
> 31:      <blockquote>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.