java.lang.NoClassDefFoundError: WEB-INF.classes.sample.jsf.PersonBean (wrong name: sample/jsf/PersonBean)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Jose Noheda, 1 year ago
WEB-INF.classes.sample.jsf.PersonBean (wrong name: sample/jsf/PersonBean)
via Spring JIRA by Jose Noheda, 1 year ago
WEB-INF.classes.sample.jsf.PersonBean (wrong name: sample/jsf/PersonBean)
via Coderanch by Guy Rich, 1 year ago
LU62XnsCvr (wrong name: APPC_LU62/java/LU62XnsCvr)
via Stack Overflow by bdurand
, 2 years ago
java.lang.NoClassDefFoundError: WEB-INF.classes.sample.jsf.PersonBean (wrong name: sample/jsf/PersonBean)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:555)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:506)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1008)
at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1080)
at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.