java.lang.NoClassDefFoundError when activating new deployment

This is a discussion on java.lang.NoClassDefFoundError when activating new deployment within the Weblogic forums in Application Servers & Tools category; After sucessfully installing a new deployment through the WL10 console, I g= et the error below when I activate changes. But if I press activate a secon= d time it works. Then when I try to start the app, I keep getting the same = error? <BEA-149205> <Failed to initialize the application 'xxxxxxxxx' due to erro= r java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag. java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java :620) at java.security.SecureClassLoader.defineClass(Secure ClassLoader.ja= va:124) at weblogic.utils.classloaders.GenericClassLoader.def ineClass(Gener= icClassLoader.java:338) at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(Ge= nericClassLoader.java:291) at weblogic.utils.classloaders.GenericClassLoader.fin dClass(Generic= ClassLoader.java:259) at weblogic.utils.classloaders.ChangeAwareClassLoader .findClass(Cha= ngeAwareClassLoader.java:54) at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06) at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)...

Go Back   Application Development Forum > Application Servers & Tools > Weblogic

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-25-2008, 01:10 PM
user boozer
Guest
 
Default java.lang.NoClassDefFoundError when activating new deployment

After sucessfully installing a new deployment through the WL10 console, I g=
et the error below when I activate changes. But if I press activate a secon=
d time it works. Then when I try to start the app, I keep getting the same =
error?

<BEA-149205> <Failed to initialize the application 'xxxxxxxxx' due to erro=
r java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag.
java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.ja=
va:124)
at weblogic.utils.classloaders.GenericClassLoader.def ineClass(Gener=
icClassLoader.java:338)
at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(Ge=
nericClassLoader.java:291)
at weblogic.utils.classloaders.GenericClassLoader.fin dClass(Generic=
ClassLoader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader .findClass(Cha=
ngeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
Reply With Quote
  #2  
Old 07-10-2008, 08:12 PM
PeterB
Guest
 
Default Re: java.lang.NoClassDefFoundError when activating new deployment

The second activate changes does nothing since you haven't changed
anything. That is the reason that there is not error on the second time.

It sounds like your app needs to include the jar for the javax faces in
your app or put it on the system classpath.


user boozer wrote:
> After sucessfully installing a new deployment through the WL10 console, Iget the error below when I activate changes. But if I press activate a second time it works. Then when I try to start the app, I keep getting the same error?
>
> <BEA-149205> <Failed to initialize the application 'xxxxxxxxx' due to error java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag.
> java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
> at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
> at weblogic.utils.classloaders.GenericClassLoader.def ineClass(GenericClassLoader.java:338)
> at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(GenericClassLoader.java:291)
> at weblogic.utils.classloaders.GenericClassLoader.fin dClass(GenericClassLoader.java:259)
> at weblogic.utils.classloaders.ChangeAwareClassLoader .findClass(ChangeAwareClassLoader.java:54)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.