Closed FelipeThi closed 11 years ago
Probably your project is missing Velocity library. Have you checked out it?
Yeah. We already checked out it. And the project has velocity library. The trouble was when velocity tried to create his log file in a place with no permission. We probably found a way to fix it.
Thanks for the opportunity to help....
Thank you for finding the problem and help solving it.
Pretty good!
We're having a little problem with the plugin here. All of the computers works, but there's one that when try to load the javascript fails trying to inject Velocity Generator.
the stacktrace generated is down:
Failed to load resource: the server responded with a status of 500 (Error creating bean with name 'jsController': Unsatisfied dependency expressed through constructor argument with index 2 of type [br.com.vraptor.contrib.jscontroller.JsGenerator]: : Error creating bean with name 'velocityJsGenerator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.vraptor.contrib.jscontroller.VelocityJsGenerator]: Constructor threw exception; nested exception is org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'velocityJsGenerator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.vraptor.contrib.jscontroller.VelocityJsGenerator]:)