[ 
https://issues.apache.org/jira/browse/JSPWIKI-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888449#comment-17888449
 ] 

Jürgen Weber commented on JSPWIKI-1170:
---------------------------------------

Tests need stripes. There is a jakarta stripes version at 
[https://github.com/StripesFramework/stripes/tree/1.6.0-Jakarta]

Unfortunately it is not released to maven central. So clone, build and install 
it to the local repository.

 

Then there is the error

The package org.xml.sax is accessible from more than one module: <unnamed>, 
java.xml

This is because the package is in  xmlrpc-2.0.1.jar, too. I hacked the jar in 
the local repository and removed the package.

Mail does not work, and some more tests either, I disabled them with @Disabled.

But mvn install completes now with tests.

 

 

> Support of Jakarta EE 9
> -----------------------
>
>                 Key: JSPWIKI-1170
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1170
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Julien Gouesse
>            Priority: Major
>         Attachments: jakarta-1.patch, jakarta.patch, jspwiki.zip
>
>
> Jakarta EE 9 drops the javax namespace for the jakarta namespace. Currently, 
> JspWiki uses the former namespace, Engine.getServletContext() returns an 
> instance of javax.servlet.ServletContext instead of 
> jakarta.servlet.ServletContext. Why not providing a separate Maven artefact 
> with the WAR and the JARs compatible with Jakarta EE 9 and keeping the 
> current WAR and JARs in the default artefact to please everyone (which is 
> what Hibernate and Wildfly do as far as I know) ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to