You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jacky Liu (JIRA)" <ji...@apache.org> on 2011/03/16 09:17:29 UTC

[jira] Updated: (GERONIMO-5866) com.service.customer.ejb.CustomerInfo cannot be resolved

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

Jacky Liu updated GERONIMO-5866:
--------------------------------

    Attachment: customer-war-3.0-SNAPSHOT.war

.war file is here.

> 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
>            Priority: Minor
>              Labels: test
>         Attachments: customer-war-3.0-SNAPSHOT.war
>
>
> 1. cd ...\samples\trunk\samples\javaee5\customer\customer-war
> 2. mvn clean install
> 3. deploy .war on geronimo-tomcat7-javaee6-3.0
> 4. open web browser and go to "http://localhost:8080/customer-war-3.0-SNAPSHOT/index.html"
> 5. click on "View Customer" Link
> 6. 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