[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [wtp-dev] Error: package beans does not exist
|
Hello,
Let me also add the this is a Dynamic Web Project and the source
is set to xyz/src, in which I have a package called beans. But when I
run the jsp on the server, by right clicking and "Run On Server" the
error below comes saying packing beans not found.
Any guidance will be greatly appreciated.
Thanks,
Zubair.
> -------- Original Message --------
> Subject: [wtp-dev] Error: package beans does not exist
> From: zubair@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> Date: Tue, April 04, 2006 5:13 pm
> To: wtp-dev@xxxxxxxxxxx
>
> 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
>
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/wtp-dev