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 added one line
[{TableOfContents }]
At line 3 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 10 added 2 lines
! Steps done to diagnose
At line 13 changed one line
|move WikiPage back to the old package com.ecyrd.jspwiki| Success
|move WikiPage back to the old package com.ecyrd.jspwiki| __Success__
At line 17 changed 2 lines
|rename package org.apache.jspwiki.api to org2.apache.jspwiki.api|?
|run in webtests/Jetty|No Success, cant find logfile but the Firefox screen look similar
|run in webtests/Jetty|No Success, cant find logfile but the Firefox screen looks similar
At line 22 added 6 lines
|ran Tomcat with -verbose:class|No Success, no clue, the WikiPage is loaded from JSPWiki.jar, no strange things noticed
|rename package org.apache.jspwiki.api to org__2__.apache.jspwiki.api|__Success__
|rename package org.apache.jspwiki.api to org.apache__2__.jspwiki.api|__Success__
|rename package org.apache.jspwiki.api to org.apache.jspwiki__2__.api|No Succes => hehe => has org.apache restrictions ?!
|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 added one line
!! Cause and Solution
At line 31 added 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)
At line 34 added 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)
At line 44 added one line
!! Stacktrace