geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (GERONIMO-5866) com.service.customer.ejb.CustomerInfo cannot be resolved
Date Thu, 17 Mar 2011 01:46:29 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

viola.lu reassigned GERONIMO-5866:
----------------------------------

    Assignee: viola.lu

> com.service.customer.ejb.CustomerInfo cannot be resolved
> --------------------------------------------------------
>
>                 Key: GERONIMO-5866
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5866
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0
>         Environment: Windows XP SP3 x86
> sun jdk 1.6.0_23
> geronimo build on 20110308
>            Reporter: Jacky Liu
>            Assignee: viola.lu
>            Priority: Minor
>              Labels: test
>         Attachments: customer-war-3.0-SNAPSHOT.war
>
>
> 1. deploy .war on geronimo-tomcat7-javaee6-3.0 server(use .war file attached)
> 2. open web browser and go to "http://localhost:8080/customer-war-3.0-SNAPSHOT/index.html"
> 3. click on "View Customer" Link
> 4. get an error!
> Here follows the error message:
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling
this request.
> exception
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
> An error occurred at line: 1 in the generated java file
> The type com.service.customer.ejb.CustomerInfo cannot be resolved. It is indirectly referenced
from required .class files
> An error occurred at line: 7 in the generated java file
> Only a type can be imported. com.service.customer.ejb.CustomerInfo resolves to a package
> An error occurred at line: 30 in the jsp file: /customers/index.jsp
> CustomerInfo cannot be resolved to a type
> 27: <jsp:setProperty name="serviceBean" property="*"/>
> 28: 
> 29: <HTML>
> 30: <%! CustomerInfo customer = null; %>
> 31: <%! String message = null; %>
> 32: <%! List<CustomerInfo> customerList = null; %>
> 33: 
> An error occurred at line: 32 in the jsp file: /customers/index.jsp
> CustomerInfo cannot be resolved to a type
> 29: <HTML>
> 30: <%! CustomerInfo customer = null; %>
> 31: <%! String message = null; %>
> 32: <%! List<CustomerInfo> customerList = null; %>
> 33: 
> 34: <% message = ""; %>
> 35: <% customerList = serviceBean.getAllCustomers(); %>
> An error occurred at line: 35 in the jsp file: /customers/index.jsp
> customerList cannot be resolved
> 32: <%! List<CustomerInfo> customerList = null; %>
> 33: 
> 34: <% message = ""; %>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message