File tree Expand file tree Collapse file tree
java/com/github/adminfaces/template/session Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242@ WebFilter (urlPatterns = {"/*" })
4343public class AdminFilter implements Filter {
4444
45- private static final String FACES_RESOURCES = "/javax .faces.resource" ;
45+ private static final String FACES_RESOURCES = "/jakarta .faces.resource" ;
4646 private static final Logger log = Logger .getLogger (AdminFilter .class .getName ());
4747
4848 private boolean disableFilter ;
@@ -112,7 +112,7 @@ public void init(FilterConfig filterConfig) {
112112 */
113113 private void initBeans () {
114114 try {
115- Class .forName ("javax .enterprise.inject.spi.CDI" );
115+ Class .forName ("jakarta .enterprise.inject.spi.CDI" );
116116 adminConfig = CDI .current ().select (AdminConfig .class ).get ();
117117 adminSession = CDI .current ().select (AdminSession .class ).get ();
118118 } catch (ClassNotFoundException e ) {
Original file line number Diff line number Diff line change 2222 </resource-bundle >
2323 <system-event-listener >
2424 <system-event-listener-class >com.github.adminfaces.template.event.AdminSystemEventListener</system-event-listener-class >
25- <system-event-class >javax .faces.event.PostConstructApplicationEvent</system-event-class >
26- <source-class >javax .faces.application.Application</source-class >
25+ <system-event-class >jakarta .faces.event.PostConstructApplicationEvent</system-event-class >
26+ <source-class >jakarta .faces.application.Application</source-class >
2727 </system-event-listener >
2828 </application >
2929
Original file line number Diff line number Diff line change 2121 <location >/403.xhtml</location >
2222 </error-page >
2323 <error-page >
24- <exception-type >javax .ejb.AccessLocalException</exception-type >
24+ <exception-type >jakarta .ejb.AccessLocalException</exception-type >
2525 <location >/403.xhtml</location >
2626 </error-page >
2727 <error-page >
3737 <location >/500.xhtml</location >
3838 </error-page >
3939 <error-page >
40- <exception-type >javax .faces.application.ViewExpiredException</exception-type >
40+ <exception-type >jakarta .faces.application.ViewExpiredException</exception-type >
4141 <location >/expired.xhtml</location >
4242 </error-page >
4343 <error-page >
44- <exception-type >javax .persistence.OptimisticLockException</exception-type >
44+ <exception-type >jakarta .persistence.OptimisticLockException</exception-type >
4545 <location >/optimistic.xhtml</location >
4646 </error-page >
4747
You can’t perform that action at this time.
0 commit comments