Greetings,
After having ran "seam generate-entites" on my db and after having deployed the
EAR, I got the following exception in the log file:
| 2008-01-23 17:16:58,786 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/SimplexCRM]] Exception
lors de l'envoi de l'évènement contexte initialisé (context initialized)
àl'instance de classe d'écoute (listener)
org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: Could not create Component: accountsAuditHome
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
| at org.jboss.seam.init.Initialization.installComponents(Initialization.java:903)
| at org.jboss.seam.init.Initialization.init(Initialization.java:548)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| ................. etc.
|
The reason of this exception is displayed further, in the log file:
| Caused by: java.lang.NoClassDefFoundError:
fr/simplexSoftware/crm/jpaBeans/AccountsAuditId
| at java.lang.Class.getDeclaredMethods0(Native Method)
| at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
| at java.lang.Class.privateGetPublicMethods(Class.java:2547)
| at java.lang.Class.getMethods(Class.java:1410)
| at org.jboss.seam.Component.hasAnnotation(Component.java:1059)
| at org.jboss.seam.Component.<init>(Component.java:228)
| at org.jboss.seam.Component.<init>(Component.java:216)
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:961)
| ... 139 more
|
The EAR file contains in its lib directory a jar which contains all the required classes,
including the one flagged as missing. The application.xml correctly defines the modules,
so I don't understand how is it possible that this exception is raised, given that all
the classes are there.
Could anybody help please ?
Many thanks in advance.
Nicolas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122729#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...