NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

View: New views
5 Messages — Rating Filter:   Alert me  

NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

by AbdSabour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello @ all, first of all: I am not sure, whether this is actually a jetty-question or maybe an eclipe-related-issue. Briefly about my situation: We're running jetty embedded and deploy a war file - this works fine in the command line build via ant. It compiles the JSP in our war file and displays them - no problem there. Now - when I load the project into eclipse and start the whole app via launch configuration it builds and runs the server, but it does not compile the JSPs with the following Info message (honestly - it's info, not error): NO JSP Support for /mms, did not find org.apache.jasper.servlet.JspServlet I am pretty new to jetty and overall don't have too much knowledge about it - I am just wondering: If it works in the command line with ant - why would it fail in eclipse to compile the JSPs? I thought maybe jetty doesn't find a library because it says "org.apache.jasper.servlet.JspServlet" but I am quite at a loss as to what to do about it .... Any suggestions (even pointing me to an eclipse forum ) is appreciated. Best regards and thanks in advance, AbdSabour

Re: NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

by jmcconnell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

what version of jetty are you using?

jesse
--
jesse mcconnell
jesse.mcconnell@...


On Wed, Sep 16, 2009 at 09:02, AbdSabour <luethien@...> wrote:
Hello @ all, first of all: I am not sure, whether this is actually a jetty-question or maybe an eclipe-related-issue. Briefly about my situation: We're running jetty embedded and deploy a war file - this works fine in the command line build via ant. It compiles the JSP in our war file and displays them - no problem there. Now - when I load the project into eclipse and start the whole app via launch configuration it builds and runs the server, but it does not compile the JSPs with the following Info message (honestly - it's info, not error): NO JSP Support for /mms, did not find org.apache.jasper.servlet.JspServlet I am pretty new to jetty and overall don't have too much knowledge about it - I am just wondering: If it works in the command line with ant - why would it fail in eclipse to compile the JSPs? I thought maybe jetty doesn't find a library because it says "org.apache.jasper.servlet.JspServlet" but I am quite at a loss as to what to do about it .... Any suggestions (even pointing me to an eclipse forum ) is appreciated. Best regards and thanks in advance, AbdSabour

View this message in context: NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet
Sent from the Jetty Discuss mailing list archive at Nabble.com.


Re: NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

by AbdSabour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, first of all - thanks a lot for trying to help me :-) ! As for the jetty-version: We're using 6.x - if you need the specific version I'd have to check that tomorrow (I am not at office right now). Furthermore I am using JDK 6.16 and eclipse Ganymede. I created the system variables for JAVA_HOME and PATH (for jdk) but no classpath variable has been created - if that's of any help .... I'll post some more console output tomorrow, so maybe that'd help as well.
jmcconnell wrote:
what version of jetty are you using? jesse -- jesse mcconnell jesse.mcconnell@gmail.com On Wed, Sep 16, 2009 at 09:02, AbdSabour wrote: > Hello @ all, first of all: I am not sure, whether this is actually a > jetty-question or maybe an eclipe-related-issue. Briefly about my situation: > We're running jetty embedded and deploy a war file - this works fine in the > command line build via ant. It compiles the JSP in our war file and displays > them - no problem there. Now - when I load the project into eclipse and > start the whole app via launch configuration it builds and runs the server, > but it does not compile the JSPs with the following Info message (honestly - > it's info, not error): *NO JSP Support for /mms, did not find > org.apache.jasper.servlet.JspServlet* I am pretty new to jetty and overall > don't have too much knowledge about it - I am just wondering: If it works in > the command line with ant - why would it fail in eclipse to compile the > JSPs? I thought maybe jetty doesn't find a library because it says > "org.apache.jasper.servlet.JspServlet" but I am quite at a loss as to what > to do about it .... Any suggestions (even pointing me to an eclipse forum ) > is appreciated. Best regards and thanks in advance, AbdSabour > ------------------------------ > View this message in context: NO JSP Support for /[our application], did > not find org.apache.jasper.servlet.JspServlet > Sent from the Jetty Discuss mailing list archiveat Nabble.com. >

Re: NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

by AbdSabour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello again,

the problem has been solved (a colleague found out what the issue was):

Somehow, when running jetty embedded in eclipse, not the jetty files are used to compile the JSPs, but the eclipse plugin files. And since we hadn't added the apache jasper and apache commons el jars files, eclipse was unable to compile the JSPs. Here a brief description how we added those files to our Run Configuration:

Right click on your project and select Run As - Run Configurations. Select your Run Configuration (or create a new one) and after filling the first few tabs, click on User Entries and Add External JARs. A file selection dialop opens. Navigate to your Eclipse installation and open the plugins folder
Select the following jar files: org.apache.commons.el and org.apache.jasper and add them

Thanks again :-) and I hope it helps someone else who has a similar issue. I am fairly sure it's not a jetty problem, but rather a problem of our general setup here.



Hello,

first of all - thanks a lot for trying to help me :-) !
As for the jetty-version: We're using 6.x - if you need the specific version I'd have to check that tomorrow (I am not at office right now). Furthermore I am using JDK 6.16 and eclipse Ganymede. I created the system variables for JAVA_HOME and PATH (for jdk) but no classpath variable has been created - if that's of any help .... I'll post some more console output tomorrow, so maybe that'd help as well.

jmcconnell wrote:
what version of jetty are you using?

jesse
--
jesse mcconnell
jesse.mcconnell@gmail.com


On Wed, Sep 16, 2009 at 09:02, AbdSabour <luethien@gmail.com> wrote:

> Hello @ all, first of all: I am not sure, whether this is actually a
> jetty-question or maybe an eclipe-related-issue. Briefly about my situation:
> We're running jetty embedded and deploy a war file - this works fine in the
> command line build via ant. It compiles the JSP in our war file and displays
> them - no problem there. Now - when I load the project into eclipse and
> start the whole app via launch configuration it builds and runs the server,
> but it does not compile the JSPs with the following Info message (honestly -
> it's info, not error): *NO JSP Support for /mms, did not find
> org.apache.jasper.servlet.JspServlet* I am pretty new to jetty and overall
> don't have too much knowledge about it - I am just wondering: If it works in
> the command line with ant - why would it fail in eclipse to compile the
> JSPs? I thought maybe jetty doesn't find a library because it says
> "org.apache.jasper.servlet.JspServlet" but I am quite at a loss as to what
> to do about it .... Any suggestions (even pointing me to an eclipse forum )
> is appreciated. Best regards and thanks in advance, AbdSabour
> ------------------------------
> View this message in context: NO JSP Support for /[our application], did
> not find org.apache.jasper.servlet.JspServlet<http://www.nabble.com/NO-JSP-Support-for---our-application-%2C-did-not-find-org.apache.jasper.servlet.JspServlet-tp25473044p25473044.html>
> Sent from the Jetty Discuss mailing list archive<http://www.nabble.com/Jetty-Discuss-f60.html>at Nabble.com.
>


Re: NO JSP Support for /[our application], did not find org.apache.jasper.servlet.JspServlet

by jamestan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Or one could pick Advanced | Add library | Server Runtime | Apache Tomcat 6.0.


Hello again,

the problem has been solved (a colleague found out what the issue was):

Somehow, when running jetty embedded in eclipse, not the jetty files are used to compile the JSPs, but the eclipse plugin files. And since we hadn't added the apache jasper and apache commons el jars files, eclipse was unable to compile the JSPs. Here a brief description how we added those files to our Run Configuration:

Right click on your project and select Run As - Run Configurations. Select your Run Configuration (or create a new one) and after filling the first few tabs, click on User Entries and Add External JARs. A file selection dialop opens. Navigate to your Eclipse installation and open the plugins folder
Select the following jar files: org.apache.commons.el and org.apache.jasper and add them

Thanks again :-) and I hope it helps someone else who has a similar issue. I am fairly sure it's not a jetty problem, but rather a problem of our general setup here.


AbdSabour wrote:
Hello,

first of all - thanks a lot for trying to help me :-) !
As for the jetty-version: We're using 6.x - if you need the specific version I'd have to check that tomorrow (I am not at office right now). Furthermore I am using JDK 6.16 and eclipse Ganymede. I created the system variables for JAVA_HOME and PATH (for jdk) but no classpath variable has been created - if that's of any help .... I'll post some more console output tomorrow, so maybe that'd help as well.

jmcconnell wrote:
what version of jetty are you using?

jesse
--
jesse mcconnell
jesse.mcconnell@gmail.com


On Wed, Sep 16, 2009 at 09:02, AbdSabour <luethien@gmail.com> wrote:

> Hello @ all, first of all: I am not sure, whether this is actually a
> jetty-question or maybe an eclipe-related-issue. Briefly about my situation:
> We're running jetty embedded and deploy a war file - this works fine in the
> command line build via ant. It compiles the JSP in our war file and displays
> them - no problem there. Now - when I load the project into eclipse and
> start the whole app via launch configuration it builds and runs the server,
> but it does not compile the JSPs with the following Info message (honestly -
> it's info, not error): *NO JSP Support for /mms, did not find
> org.apache.jasper.servlet.JspServlet* I am pretty new to jetty and overall
> don't have too much knowledge about it - I am just wondering: If it works in
> the command line with ant - why would it fail in eclipse to compile the
> JSPs? I thought maybe jetty doesn't find a library because it says
> "org.apache.jasper.servlet.JspServlet" but I am quite at a loss as to what
> to do about it .... Any suggestions (even pointing me to an eclipse forum )
> is appreciated. Best regards and thanks in advance, AbdSabour
> ------------------------------
> View this message in context: NO JSP Support for /[our application], did
> not find org.apache.jasper.servlet.JspServlet<http://www.nabble.com/NO-JSP-Support-for---our-application-%2C-did-not-find-org.apache.jasper.servlet.JspServlet-tp25473044p25473044.html>
> Sent from the Jetty Discuss mailing list archive<http://www.nabble.com/Jetty-Discuss-f60.html>at Nabble.com.
>