Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Tiles 3.x doesn't anymore compile in Spring 6.x because javax.* renamed to jakarta.*

My application uses Spring 5.x,Apache Tiles 3.0.x. Now I would like to migrate to Spring 6.x but the problem is with Apache Tiles 3.0.x because it has javax.servlet.* instead of jakarta.* . All spring 6.x has packages with Jakarta.* . so what should i do with Apache tiles when i want to migrate my application to Spring 6?

I tried replacing Spring 5.x jars with Spring 6.x jars and found errors with javax.servlet and able to resolve some errors but i am unable to resolve errors apache tiles 3.0.x package

like image 969
Nagarjuna Avatar asked Oct 24 '25 15:10

Nagarjuna


1 Answers

Apache Tiles has retired in about 2018 - that means that you don't get updates since that date. This could be dangerous as you also didn't get security updates since then. (See also its attic page)

So I see two main options for you:

  • Either you fork the Apache Tiles project and fix the wrong namespaces yourself
  • Or you switch your application to a different dependency (see e.g. Apache Tiles retired. Alternatives?)

Please don't consider to stay on your current setup of Java and/or Spring versions as this will rise even more potential security problems.

like image 91
cyberbrain Avatar answered Oct 26 '25 05:10

cyberbrain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!