This page (revision-9) was last changed on 23-Apr-2022 17:05 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
9 23-Apr-2022 17:05 14 KB Harry Metske to previous
8 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
7 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
6 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
5 23-Apr-2022 17:05 16 KB Harry Metske to previous | to last
4 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
3 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
2 23-Apr-2022 17:05 12 KB Harry Metske to previous | to last
1 23-Apr-2022 17:05 12 KB Harry Metske to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 2 removed one line
[{TableOfContents }]
At line 4 changed one line
\\After moving the class WikiPage to the package org.apache.jspwiki.api we started getting NoClassDefFoundErrors for this class if it is referenced from JSP's.
After moving the class WikiPage to the package org.apache.jspwiki.api we started getting NoClassDefFoundErrors for this class if it is referenced from JSP's.
At line 20 changed one line
|run in webtests/Jetty|No Success, cant find logfile but the Firefox screen looks similar
|run in webtests/Jetty|No Success, cant find logfile but the Firefox screen look similar
At line 26 removed 2 lines
|rename package org.apache.jspwiki.api to org.apache.j__z__pwiki.api|__Success__
|rename package org.apache.jspwiki.api to org.apache.jsp__2__wiki.api|No Success => would we somehow conflict with org.apache.jsp, which is a package name for servlets compiled from JSP's (look at tomcat's work directory)
At line 29 changed one line
!! Cause and Solution
Another strange thing is when you run the ant target __compile-tomcat__, it fails with :
{{{
[javac] Compiling 25 source files to /home/metskem/workspace/JSPWiki/build/jsp-classes
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:772: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] com.ecyrd.jspwiki.WikiPage currentPage = null;
[javac] ^
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:779: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] currentPage = (com.ecyrd.jspwiki.WikiPage) _jspx_page_context.findAttribute("currentPage");
[javac] ^
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:865: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] currentPage = (com.ecyrd.jspwiki.WikiPage) _jspx_page_context.findAttribute("currentPage");
[javac] ^
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:1258: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] com.ecyrd.jspwiki.WikiPage att = null;
[javac] ^
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:1265: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] att = (com.ecyrd.jspwiki.WikiPage) _jspx_page_context.findAttribute("att");
[javac] ^
[javac] /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/InfoContent_jsp.java:1373: cannot find symbol
[javac] symbol : class WikiPage
[javac] location: package com.ecyrd.jspwiki
[javac] att = (com.ecyrd.jspwiki.WikiPage) _jspx_page_context.findAttribute("att");
[javac] ^
[javac] Note: /home/metskem/workspace/JSPWiki/build/jsp-java/org/apache/jsp/templates/default_/PreferencesTab_jsp.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 6 errors
At line 31 changed 2 lines
It indeed appears to be related to Jasper, see [JSPWIKI-465|https://issues.apache.org/jira/browse/JSPWIKI-465] for details.
\\You need a recent version of Jasper (Tomcat 6.0.19, or 6.0.16 with Java System Property -Dorg.apache.jasper.Constants.JSP_PACKAGE_NAME=org.apache.jzp)
BUILD FAILED
/home/metskem/workspace/JSPWiki/build.xml:1062: Compile failed; see the compiler error output for details.
At line 34 changed 9 lines
The following containers suffer from this problem, because they use Jasper:
* Tomcat
* Glassfish
* Geronimo
* Jetty
* JBoss
* WebSphere ? (I'll have to check that)
* WebLogic ? (I don't know)
* OC4J ? (I don't know)
Total time: 11 seconds
}}}
At line 44 changed one line
!! Stacktrace
Where the f... does this com.ecyrd.jspwiki.WikiPage come from ?
----