无法从PrimeFaces加载不存在的组件

时间:2013-07-15 19:37:12

标签: jsf-2 primefaces glassfish-3

升级到PrimeFaces 4.0-SNAPSHOT后,每当我部署应用程序时,我都会收到此堆栈跟踪:

WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaContent, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaContent
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaOverlay, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaOverlay
WARNING: WEB9052: Unable to load class org.primefaces.component.submenu.Submenu, reason: java.lang.ClassNotFoundException: org.primefaces.component.submenu.Submenu
WARNING: WEB9052: Unable to load class org.primefaces.component.resources.Resources, reason: java.lang.ClassNotFoundException: org.primefaces.component.resources.Resources
WARNING: WEB9052: Unable to load class org.primefaces.component.sheet.Sheet, reason: java.lang.ClassNotFoundException: org.primefaces.component.sheet.Sheet
WARNING: WEB9052: Unable to load class org.primefaces.component.menuitem.MenuItem, reason: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaContentRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaContentRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaOverlayRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaOverlayRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.sheet.SheetRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.sheet.SheetRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaContentRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaContentRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaOverlayRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaOverlayRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.sheet.SheetRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.sheet.SheetRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaContentRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaContentRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.galleria.GalleriaOverlayRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.galleria.GalleriaOverlayRenderer
WARNING: WEB9052: Unable to load class org.primefaces.component.sheet.SheetRenderer, reason: java.lang.ClassNotFoundException: org.primefaces.component.sheet.SheetRenderer
INFO: Initialisation de Mojarra 2.1.23 ( 20130613-1525 https://svn.java.net/svn/mojarra~svn/tags/2.1.23@11994) pour le contexte «/myapp»
INFO: Running on PrimeFaces 4.0-SNAPSHOT
INFO: Using OmniFaces version 1.6-SNAPSHOT-20130701
INFO: PWC1412: WebModule[null] ServletContext.log():org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
INFO: WEB0671: Loading application [myapp] at [/myapp]
INFO: myapp was successfully deployed in ~ 796 milliseconds.

我知道错误是它正在寻找一个类(而不是找到它),但是这些类在PrimeFaces的较新版本中不存在。查看jar文件,很明显这些文件不会退出。

我的问题更侧重于为什么PrimeFaces(或其他什么?)试图加载这些类。

我在Glassfish 3.1.2.2上运行。

0 个答案:

没有答案