{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"AutoLoan-Balci-1.0.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
Caused by: java.lang.NoClassDefFoundError: Failed to link org/primefaces/webapp/UploadedFileCleanerListener (Module \"deployment.AutoLoan-Balci-1.0.war\" from Service Module Loader): javax/servlet/ServletRequestListener"}}
I am using the following:
primefaces-13.0.0.RC2
wildfly-28.0.1.Final
IntelliJ IDEA 2023.1.4 (Ultimate Edition)
This is my HelloWorld tutorial app that I am trying to migrate to Jakarta EE 10. I cannot figure out why I am getting the error message above.
Any help will be appreciated.
Failed to link org/primefaces/webapp/UploadedFileCleanerListener
- OsmanBalci
- Posts: 9
- Joined: 17 Jul 2014, 19:34
- Location: Blacksburg, Virginia, U.S.A.
- Contact:
OSMAN BALCI
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
If you use a jakarta application server, you need to use primefaces with jakarta qualifier in maven, not the normal/javax version
https://stackoverflow.com/questions/665 ... r-on-javax
https://stackoverflow.com/questions/665 ... r-on-javax
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
On WildFly 28.0.1.Final/29.0.0.Beta1 using Jarkata 10.0 in Gradle:.
Download : PrimeFaces-12.0.5.jar & unzip:
Building your EAR, JAR & WAR:
In HAL deployed EAR on WildFly:
Download : PrimeFaces-12.0.5.jar & unzip:
Code: Select all
primefaces-12.0.5/vdldocs/primefaces-12.0.5-jakarta.jar
Code: Select all
dependencies {
...
implementation("org.faces:primefaces-12.0.5-jakarta")
...
}
Code: Select all
WEB-INF/lib/primefaces-12.0.5-jakarta.jar
Code: Select all
lib/primefaces-12.0.5-jakarta.jar
Code: Select all
JBOSS_HOME: /usr/local/Cellar/wildfly-as/wildfly-preview-29.0.0.Beta1
JAVA: /Library/Java/JavaVirtualMachines/jdk-20.0.1.jdk/Contents/Home/bin/java
...
INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Preview 29.0.0.Beta1 (WildFly Core 21.1.0.Beta2) started in 3851ms - Started 306 of 548 services (322 services are lazy, passive or on-demand) - Server configuration file in use: standalone-full.xml
...
INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 87) Running on PrimeFaces 12.0.5
INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 87) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class com.notifymoto.webservices.ApplicationConfig
INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 87) WFLYUT0021: Registered web context: '/NOTiFYmoto' for server 'default-server'
INFO [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0010: Deployed "NOTiFYmoto.ear" (runtime-name : "NOTiFYmoto.ear")
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1
- OsmanBalci
- Posts: 9
- Joined: 17 Jul 2014, 19:34
- Location: Blacksburg, Virginia, U.S.A.
- Contact:
primefaces-13.0.0-RC2-jakarta.jar solved the problem.
Many Thanks!
Osman Balci
Many Thanks!
Osman Balci
OSMAN BALCI
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests