[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[wtp-dev] Error: package beans does not exist
|
Hello,
I built my first project xyz and created set the source folder as
src. In the src folder I created a bean in package beans. A jsp
(Greeting.jsp references that bean) or should I say tries to reference
it but can't find it. I am running it inside eclipse using tomcat 5.0.
Is there a step I am missing for the app to know where my source
is ?
Thanks,
Zubair
Apr 4, 2006 4:56:33 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file:
/C:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/xyz//org/apache/jsp\greeting_jsp.java
[javac] Compiling 1 source file
C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\xyz\org\apache\jsp\greeting_jsp.java:63:
package beans does not exist
beans.CandidateForm form = null;
^
C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\xyz\org\apache\jsp\greeting_jsp.java:65:
package beans does not exist
form = (beans.CandidateForm) pageContext.getAttribute("form",
PageContext.REQUEST_SCOPE);
^
C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\xyz\org\apache\jsp\greeting_jsp.java:67:
package beans does not exist
form = new beans.CandidateForm();
^
3 errors