geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Liu (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5866) com.service.customer.ejb.CustomerInfo cannot be resolved
Date Wed, 16 Mar 2011 08:17:29 GMT
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
         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

Mime
View raw message