On 28.04.20, 17:49, "Mark Thomas" wrote:
> This has been fixed in:
> - master for 10.0.0-M5 onwards
> - 9.0.x for 9.0.35 onwards
> - 8.5.x for 8.5.55 onwards
> - 7.0.x for 7.0.104 onwards
>
> The private isPackage(String) method needed to be updated to correctly
> identify that "org.apache.jsp.te
On 28/04/2020 10:57, Mark Thomas wrote:
> I've made some progress with the debugging. JDT 4.15 makes an additional
> call to INameEnvironment.findType() and passes
> "org.apache.jsp.test_jsp$1InnerClass". JDT 4.13 does not make that call.
>
> I want to research a little more into why this has chan
On 28/04/2020 10:25, Markus Fömpe wrote:
> On 28.04.20, 10:06, "Mark Thomas" wrote:
>
> [...]
>>
>>> This is root cause:
>>>
>>> java.lang.ClassCastException: class
>>> org.eclipse.jdt.internal.compiler.lookup.PlainPackageBinding cannot be cast
>>> to class org.eclipse.jdt.internal.compiler.loo
On 28.04.20, 10:06, "Mark Thomas" wrote:
[...]
>
>> This is root cause:
>>
>> java.lang.ClassCastException: class
>> org.eclipse.jdt.internal.compiler.lookup.PlainPackageBinding cannot be cast
>> to class org.eclipse.jdt.internal.compiler.lookup.TypeBinding
>> (org.eclipse.jdt.internal.compile
On 28/04/2020 07:02, Markus Fömpe wrote:
> Hi,
>
> With Tomcat 9.0.34 the JDT compiler was updated to 4.15.
> Since then, there is an error when Tomcat compiles the JSP at runtime when
> this construct is used in a JSP:
Not good news but thanks for bring this up.
We skipped 4.14 because there w
Hi,
With Tomcat 9.0.34 the JDT compiler was updated to 4.15.
Since then, there is an error when Tomcat compiles the JSP at runtime when this
construct is used in a JSP:
<%@ page import="java.util.List"%>
<%@ page import="java.util.ArrayList"%>
<%
class InnerClass {
// some class members
}
L
2011/7/24 Dan Checkoway :
> I recently upgraded from 7.0.16 to 7.0.19, and having made no other changes
> whatsoever, I've bumped into a new problem compiling long JSPs:
>
> java.lang.Error: Unresolved compilation problem:
Didn't you forget to clear all compiled jsps from
${catalina.base}/work/ af
On 25/07/2011 13:56, Dan Checkoway wrote:
> Mark,
>
> I don't see anything mentioned in there about compiler options changing. I
> only see the note about the JSP compile *strategy* (forward/backward
> dependency checks).
You missed this entry:
"Update to Eclipse JDT
Mark,
I don't see anything mentioned in there about compiler options changing. I
only see the note about the JSP compile *strategy* (forward/backward
dependency checks).
You can toss "RTFM" (or RTFChangelog) at me, but something that's not listed
in the changelog did c
On 24/07/2011 15:40, Dan Checkoway wrote:
> Did some sort of jasper
> or compiler option change in 7.0.19?
Yes. See the Jasper section of the change log.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For a
Line 593 has what you might expect...the long method generated from the JSP:
public void _jspService(final javax.servlet.http.HttpServletRequest
request, final javax.servlet.http.HttpServletResponse response)
Dan
On Sun, Jul 24, 2011 at 6:04 PM, Pid wrote:
> On 24/07/2011 15:48, Dan Checkowa
On 24/07/2011 15:48, Dan Checkoway wrote:
> In case this helps, here are some generated source specs for comparison:
>
> file sizes:
> -rw-r--r-- 1 dan staff 298619 Jul 24 10:46 7.0.16-generated-source.java
> -rw-r--r-- 1 dan staff 300421 Jul 24 10:46 7.0.19-generated-source.java
>
> line c
In case this helps, here are some generated source specs for comparison:
file sizes:
-rw-r--r-- 1 dan staff 298619 Jul 24 10:46 7.0.16-generated-source.java
-rw-r--r-- 1 dan staff 300421 Jul 24 10:46 7.0.19-generated-source.java
line counts:
7328 7.0.16-generated-source.java
7331 7.
I recently upgraded from 7.0.16 to 7.0.19, and having made no other changes
whatsoever, I've bumped into a new problem compiling long JSPs:
java.lang.Error: Unresolved compilation problem:
org.apache.jsp.mydir.my_005fexample_jsp._jspService(my_005fexample_jsp.java:593)
org.apache.jasper.runt
On 06/04/2011 10:47, André Warnier wrote:
> Hello 文宝殷,
>
> As I failed to mention before, I am not really a java or JSP expert, so I was
> just guessing.
> The error messages which you are getting seem to suggest that the generated
> Java code
> (before compilation) contains some line breaks or
Hello 文宝殷,
As I failed to mention before, I am not really a java or JSP expert, so I was
just guessing.
The error messages which you are getting seem to suggest that the generated
Java code
(before compilation) contains some line breaks or other confusing characters
where the
compiler is not ex
Hi André Warnier,
thanks for your reply.
it's a runtime error, jsp compiler generate the java file then compile it to
class.
i didn't the copy the java file between different systems.my system is
linux.
could the jsp compiler cause this error? the default one is the JDT.
Best Regards
Bryan
201
Hi,
Honestly, I don't really know, and this is just a vague suspicion.
But if the original JSP pages are on a Windows PC, and then you are copying them to a
Unix/Linux server to run them, can the problem not be due to wrong line endings ?
(Windows uses CR/LF, but Unix/Linux only LF).
文宝殷 wro
Hi,
Is there anyone met this kind of error. please see the error stack below.
very tricky,it doesn't always happen, we met it seldom after our server run
for a period.
and the red section is not confused, i don't know what's the meaning
exactly.
i've looked into the generated java file, the line
> Jq... what IDE are you using ?
> On Netbeans its like this...
>
I actually tried that even though for this project there is no IDE
involved. It is a manually deployed suite developed by a third party. I
have to compile in as close to the production environment as possible.
So far I have not bee
- Original Message -
From: "Jq" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 29, 2008 11:05 PM
Subject: jsp compile question
How can I simulate the way tomcat builds a jsp file?
I need to debug a .jsp that fails to build when requested.
Thanks.
Jq... what IDE ar
rs List"
> Sent: Tuesday, July 29, 2008 5:25 PM
> Subject: Re: jsp compile question
>
>
> That would be great. I'll have to find where this is set up on the
>> target site.
>>
>> Thanks.
>>
>>
> --
, 2008 5:25 PM
Subject: Re: jsp compile question
That would be great. I'll have to find where this is set up on the
target site.
Thanks.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [
That would be great. I'll have to find where this is set up on the
target site.
Thanks.
On Tue, Jul 29, 2008 at 5:05 PM, Jq <[EMAIL PROTECTED]> wrote:
> How can I simulate the way tomcat builds a jsp file?
>
> I need to debug a .jsp that fails to build when requested.
>
> Thanks.
If you mean debugging why JSP compilation fails, you can look at the
generated servlet code (the .java
How can I simulate the way tomcat builds a jsp file?
I need to debug a .jsp that fails to build when requested.
Thanks.
Hi David,
thanks for your answer. What I forgot to say is that I use Tomcat 5.0.28.
I'll comment inline to your options.
On Thursday 16 August 2007 10:41:30 David Delbecq wrote:
> As you guessed would be intuitive, yes, the JSP compiler include
> classes in shared/lib (and also classes in webapp
As you guessed would be intuitive, yes, the JSP compiler include classes
in shared/lib (and also classes in webapp itself).
The shared/lib is the same as if you copy it's content to the
WEB-INF/lib folder. As your compiler does not include the shared/lib in
it's classpath, there can be various reas
Hi all,
after moving a jar file from tomcat/common/lib to tomcat/shared/lib, JSPs
that use that library don't compile anymore, it says package does not
exist. It is a library from my company, used by all webapps in the server
installation. It used to be in tomcat/common/lib as it was used by a
to
[EMAIL PROTECTED] wrote:
> Can someone tell me what causes the error; and, can I fix it? I am
> not in a position to upgrade the old version. I googled it but didn't
> get anything useful.
No idea without seeing the original JSP code. At a guess you are using
some JSP 2.0 code which Tomcat 4.x d
Hello,
I am getting this error on deployment of a web app:
org.apache.jasper.compiler.CompileException:
/Trollope-l/trollope/index.jsp(44,12)
/WEB-INF/jspf/appnav.jspf(13,54) Unterminated
This happens when I deploy on Tomcat 4.0.6. However, the application
was developed on and runs fine on Tomc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
yes your configuration is not as you want it.
you can edit the $tomcat_home/conf/web.xml to fix this. see
documentation on JSP servlet.
hope it helps
- -reynir
[EMAIL PROTECTED] wrote:
> Hi,
>
> I use TOMCAT 5.0.28 running on debian.
>
> My troubl
Hi,
I use TOMCAT 5.0.28 running on debian.
My trouble is:
I have everytime to restart the tomcat, to recompile an existing jsp, that
has been changed.
Is my TOMCAT configuration wrong?
Thank you,
And best regards
Anna Pitaev
smime.p7s
Description: S/MIME c
33 matches
Mail list logo