Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 50178 invoked from network); 16 Mar 2011 08:19:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 08:19:51 -0000 Received: (qmail 70439 invoked by uid 500); 16 Mar 2011 08:19:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 70387 invoked by uid 500); 16 Mar 2011 08:19:51 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 70380 invoked by uid 99); 16 Mar 2011 08:19:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 08:19:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 08:19:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 896BF3AB747 for ; Wed, 16 Mar 2011 08:19:29 +0000 (UTC) Date: Wed, 16 Mar 2011 08:19:29 +0000 (UTC) From: "Jacky Liu (JIRA)" To: dev@geronimo.apache.org Message-ID: <1814042206.6099.1300263569559.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <567307502.6094.1300263449517.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (GERONIMO-5866) com.service.customer.ejb.CustomerInfo cannot be resolved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacky Liu updated GERONIMO-5866: -------------------------------- Description: 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: 28: 29: 30: <%! CustomerInfo customer = null; %> 31: <%! String message = null; %> 32: <%! List customerList = null; %> 33: An error occurred at line: 32 in the jsp file: /customers/index.jsp CustomerInfo cannot be resolved to a type 29: 30: <%! CustomerInfo customer = null; %> 31: <%! String message = null; %> 32: <%! List 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 customerList = null; %> 33: 34: <% message = ""; %> was: 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: 28: 29: 30: <%! CustomerInfo customer = null; %> 31: <%! String message = null; %> 32: <%! List customerList = null; %> 33: An error occurred at line: 32 in the jsp file: /customers/index.jsp CustomerInfo cannot be resolved to a type 29: 30: <%! CustomerInfo customer = null; %> 31: <%! String message = null; %> 32: <%! List 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 customerList = null; %> 33: 34: <% message = ""; %> > 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. 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: > 28: > 29: > 30: <%! CustomerInfo customer = null; %> > 31: <%! String message = null; %> > 32: <%! List customerList = null; %> > 33: > An error occurred at line: 32 in the jsp file: /customers/index.jsp > CustomerInfo cannot be resolved to a type > 29: > 30: <%! CustomerInfo customer = null; %> > 31: <%! String message = null; %> > 32: <%! List 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 customerList = null; %> > 33: > 34: <% message = ""; %> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira