Primefaces Ecuador Theme - Error org/primefaces/component/menu/BaseMenuRenderer on Wildfly 31 and Jakarta #1348
-
Hi, I have a problem with Primefaces Ecuador Theme 7.0.0 and Jakarta, when I install the theme, I have this error "Caused by: java.lang.NoClassDefFoundError: Failed to link org/primefaces/ecuador/component/EcuadorMenuRenderer". |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Are you using the latest version of Ecuador available in your PrimeStore account? Make sure you are using the Jakarta version of the theme not the javax version? |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm sure, I'm using "ecuador-theme-7.0.0-jakarta.jar" and changed the classes "javax." by "jakarta." |
Beta Was this translation helpful? Give feedback.
Yes, you are right, that is the problem.
My solution with a Maven EAR project
install the jakarta theme via maven. For example:
mvn install:install-file -Dfile=ecuador-theme-7.0.0-jakarta.jar -DgroupId=org.primefaces.themes -DartifactId=ecuador-theme-7.0.0-jakarta -Dversion=7.0 -Dpackaging=jar -Dclasifier=jakarta
add maven dependency
org.primefaces.themes
ecuador-theme-7.0.0-jakarta
7.0
It's fine for me.
Thanks a lot