users@glassfish.java.net

Re: help with "org.apache.jasper.JasperException: PWC6033 symbol not found"

From: Sahoo <sahoo_at_sun.com>
Date: Wed, 07 Apr 2010 23:36:16 +0530

Should you not mention the FQCN? e.g.,

<jsp:useBean id="recordsTest" class="pm.entity.RecordsTest" scope="application" />


Sahoo
glassfish_at_javadesktop.org wrote:
> I have a simple project to try persistence. there are 2 classes: a entity bean and a entity bean controler. the war layout is below.
> META-INF/
> META-INF/MANIFEST.MF
> index.jsp
> WEB-INF/
> WEB-INF/classes/
> WEB-INF/classes/META-INF/
> WEB-INF/classes/META-INF/persistence.xml
> WEB-INF/classes/pm/
> WEB-INF/classes/pm/entity/
> WEB-INF/classes/pm/entity/RecordsTest.class
> WEB-INF/classes/pm/entity/ContextListener.class
> WEB-INF/classes/pm/entity/Records.class
> WEB-INF/web.xml
> WEB-INF/sun-web.xml
>
> contents of index.jsp is simple enough:
> <jsp:useBean id="recordsTest" class="RecordsTest" scope="application" />
> <html>
> <body>
> <BR>Skype Login is: <%= recordsTest.getSkypeLogin() %>
> <BR>
> </body>
> </html>
>
> persistence.xml is:
> <persistence>
> <persistence-unit name="TestPersistence">
> <jta-data-source>jdbc/testDB</jta-data-source>
> <class>pm.entity.RecordsTest</class>
> <class>pm.entity.Records</class>
> <class>pm.entity.ContextListener</class>
> </persistence-unit>
> </persistence>
>
> deployment is successful, but launching always threw error:
> PWC6197: An error occurred at line: 1 in the jsp file: /index.jsp
> PWC6199: Generated servlet error:
> string:///index_jsp.java:45: cannot find symbol
> symbol : class RecordsTest
> location: class org.apache.jsp.index_jsp
>
> [b]why RecordsTest can't be found? any help is appreciated, please![/b]
> [Message sent by forum member 'galaxy2010']
>
> http://forums.java.net/jive/thread.jspa?messageID=395726
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>