
|
If you were logged in you would be able to see more operations.
|
|
|
xplanner
Created: 11/Mar/06 01:28 PM
Updated: 11/Mar/06 09:41 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
0.7
|
|
| JDK version and platform: |
jdk 1.5, freebsd
|
| Database: |
mysql
|
| Application server: |
Geronimo 1.0
|
|
In svn checkout revision 1016
I'm getting a CLassNotFound exception while one of the spring beans is registered:
[40468807] ERROR - core.ContainerBase.[/xplanner] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'transactionManager' defined in class path resource [spring-beans.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTransactionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
I've checked and hibernate2.jar is int he lib directory... I suspect (but don't know enough about spring to say for sure) that some package is not registered that should be.
|
|
Description
|
In svn checkout revision 1016
I'm getting a CLassNotFound exception while one of the spring beans is registered:
[40468807] ERROR - core.ContainerBase.[/xplanner] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'transactionManager' defined in class path resource [spring-beans.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTransactionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
I've checked and hibernate2.jar is int he lib directory... I suspect (but don't know enough about spring to say for sure) that some package is not registered that should be.
|
Show » |
|
I added the attached geronimo-web.xml file to WEB-INF and its started up without any exceptions...
it seems that in Geronimo the <context-priority-classloader>true</context-priority-classloader> parameter defaults to false if not present which causes classloader problem.