ClassNotFoundException MessagesTag with 2.2RC2

UI Components for JSF
Post Reply
inxsible
Posts: 53
Joined: 07 Dec 2010, 21:30

07 Dec 2010, 21:49

I added the RC2.2 to our existing project (which did not use primefaces at all until now) and the application fails to deploy on Weblogic 10gR3 with the following exception

Code: Select all

java.lang.ClassNotFoundException: org.primefaces.component.messages.MessagesTag
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	Truncated. see log file for complete stacktrace
Then I downloaded the 2.1 Release version and the deployment goes through without a hitch. I was wondering if there was some setting that I needed to do for using the 2.2RC ?

Thanks in advance.
Last edited by inxsible on 14 Dec 2010, 21:40, edited 1 time in total.
PF-2.2.1 || Mojarra 2.0.3-FCS || Eclipse 3.6.1 (Helios) || Weblogic 11gR1

inxsible
Posts: 53
Joined: 07 Dec 2010, 21:30

10 Dec 2010, 08:23

Can anyone of the 2.2RC users let me know if there was something else that they had to configure?

I am still puzzled as to why 2.1 would work and 2.2RC would not.


Thanks
PF-2.2.1 || Mojarra 2.0.3-FCS || Eclipse 3.6.1 (Helios) || Weblogic 11gR1

inxsible
Posts: 53
Joined: 07 Dec 2010, 21:30

14 Dec 2010, 21:40

Here's some additional stack trace

Code: Select all

<Dec 14, 2010 2:47:05 PM EST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Downloads\Source\workspace\Merits_UI\WebContent. Please make sure that the annotations are valid. The error is org.primefaces.component.messages.MessagesTag> 
<Dec 14, 2010 2:47:05 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1292356022687' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'application''
Is there an annotation in the jar file that seems to incorrect or something?

I checked the primefaces-2.2RC.jar file and there is no MessagesTag class under org.primefaces.component.messages. There is however a Messages.class

How do I fix this? anyone ?
PF-2.2.1 || Mojarra 2.0.3-FCS || Eclipse 3.6.1 (Helios) || Weblogic 11gR1

inxsible
Posts: 53
Joined: 07 Dec 2010, 21:30

16 Dec 2010, 00:24

Please see the solution offered by tiagojesus over here
PF-2.2.1 || Mojarra 2.0.3-FCS || Eclipse 3.6.1 (Helios) || Weblogic 11gR1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests