-
1. Re: org.apache.jasper.JasperException: main deprecated
jonlee May 6, 2003 2:58 AM (in response to teigetje205)Your JSP gets converted from html with in-line Java into a full Java source file - in your case, called index$jsp.java. If you look at that file in the Temp directory, you will find the lines to which the line numbers refer. Jasper is telling you that it can't compile the derived Java code. You will need to check the code, understand it and reference it back to the original JSP to determine how to fix your JSP. It might be that you have a closing or opening JSP declaration in the wrong place or similar. Or you have an incomplete Java brace in your in-line code.
-
2. Re: org.apache.jasper.JasperException: main deprecated
teigetje205 May 6, 2003 3:18 AM (in response to teigetje205)I don't know if you mean the tmpjsp from Eclipse... I'm using Eclipse... but there is nothing stored there... Also I can't find something like index$jsp.java on my computer..
In the tutorial van Lomboz (plugin for eclipse) they tell me to set JBoss with the next lines:
But they don't tell me where to put it. They say it should be filled in somewhere to make sure Eclipse can deploy JSP... which it doesnt right now! -
3. Re: org.apache.jasper.JasperException: main deprecated
jonlee May 6, 2003 3:43 AM (in response to teigetje205)The JSP must be beaing deployed somewhere as Jetty is complaining that it has problems with the derived Java code located at C:\DOCUME~1\marsha\LOCALS~1\Temp\Jetty_0_0_0_0_8080__smsweb\index$jsp.java. The JSP compiler in Jetty has transformed the JSP called index.jsp to index$jsp.java and then tried to compile the resulting Java file. So I would look at this first and work backwards. Don't stop JBoss or Jetty while you are looking at this temporary file.