Hi Christian,
I was using BaseX 9.5 on Tomcat 8.5 and it was fine.
On Tomcat 10.0.2 I couldn't get either BaseX 9.5 or 9.7 to work (same issue).
I now have Tomcat 9.0.62 running and I've successfully run both BaseX 9.5 and 
9.7. 
RegardsMarc 
    On Monday, 4 April 2022, 12:26:32 BST, Christian Grün 
<christian.gr...@gmail.com> wrote:  
 
 Hi Marc,

I remember there were problem with a past release of BaseX and Tomcat.
Which version of BaseX are you using?

Best,
Christian



On Sun, Apr 3, 2022 at 10:45 PM Marc Balston <mcbals...@yahoo.com> wrote:
>
> Hello,
>
> I've been successfully running BaseX on Amazon AWS using Tomcat 8.5, but I've 
> been looking to upgrade my server to Tomcat 10.0.2.
> However, I've run into an issue: BaseX does not startup and from the logs the 
> cause appears to be a missing class:
>    java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener
>
> I believe this is because there was a change between Tomcat 9.x and Tomcat 10 
> which led to a renaming of the javax.* package to jakata.* (related to a 
> change in the servlet API version) see here for a discussion: 
> https://stackoverflow.com/questions/66711660/tomcat-10-x-throws-java-lang-noclassdeffounderror-on-javax-servlet
>
> Is my understanding correct and is this a known issue?
> If it is a genuine incompatibility, it would be useful to mention this in the 
> documentation (Web Application - BaseX Documentation)
>
> Thanks
> Marc
>
>
>
> Marc Balston
>
  

Reply via email to