File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Error during Spring JUnit test
Joined: Sep 26, 2006
Dec 11, 2011 10:40:33
I have a
class controlled using Spring. When I tried to run that, I got the following Error:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [config/common/applicationContext-common.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [config/common/applicationContext-common.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Initialization of bean failed; nested exception is java.lang.IllegalStateException: ClassLoader [sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jar
I do not want to specify the -javaagent to my run time. Is there any other alternative?
SCWCD 1.4 - Hints for you
SCBCD Hints - Demnachst
, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Error during Spring JUnit test
Spring Tomcat Application - Startup Problems
spring AOP aspect4j logger on the spring mvc application
AspectJ LTW using Spring
Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table)
BeanCreationException in an standalone application using Spring
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013