Skip to content

Commit 447c960

Browse files
rmpestanormpestano
authored andcommitted
refs #206
1 parent 6649cb2 commit 447c960

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/com/github/adminfaces/template/session/AdminFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
@WebFilter(urlPatterns = {"/*"})
4343
public 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) {

src/main/resources/META-INF/faces-config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
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

src/main/resources/META-INF/web-fragment.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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>
@@ -37,11 +37,11 @@
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

0 commit comments

Comments
 (0)