You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Matt Raible <ma...@raibledesigns.com> on 2002/07/09 20:47:28 UTC

AspectJ needed for Cactus 1.4?

I am trying to setup my tomcat install as described at:

http://jakarta.apache.org/cactus/1.4/howto_tomcat.html

However, I get the following error in localhost_log:

2002-07-09 12:23:09 StandardContext[/roller]: Exception starting filter
FilterRedirector
java.lang.NoClassDefFoundError: org/aspectj/runtime/reflect/Factory
	at
org.apache.cactus.server.FilterTestRedirector.<clinit>(FilterTestRedirec
tor.java;org/apache/cactus/util/log/LogAspect.java(1k):80)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:296)
	at java.lang.Class.newInstance(Class.java:249)

However, the documentation states:

Copy the following jars to [tomcat root]/common/lib : 

cactus.jar 
commons-httpclient*.jar 
junit.jar 
 This is the minium set of jars needed.  


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: AspectJ needed for Cactus 1.4?

Posted by Vincent Massol <vm...@octo.com>.
Hi Matt,

The documentation is wrong, you need aspectjrt.jar in your cp! I have
fixed it in CVS (but have not redeployed the web site).

Thank you.
-Vincent

> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com]
> Sent: 09 July 2002 19:47
> To: cactus-user@jakarta.apache.org
> Subject: AspectJ needed for Cactus 1.4?
> 
> I am trying to setup my tomcat install as described at:
> 
> http://jakarta.apache.org/cactus/1.4/howto_tomcat.html
> 
> However, I get the following error in localhost_log:
> 
> 2002-07-09 12:23:09 StandardContext[/roller]: Exception starting
filter
> FilterRedirector
> java.lang.NoClassDefFoundError: org/aspectj/runtime/reflect/Factory
> 	at
>
org.apache.cactus.server.FilterTestRedirector.<clinit>(FilterTestRedirec
> tor.java;org/apache/cactus/util/log/LogAspect.java(1k):80)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 	at
>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
> ccessorImpl.java:39)
> 	at
>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
> tructorAccessorImpl.java:27)
> 	at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> 	at java.lang.Class.newInstance0(Class.java:296)
> 	at java.lang.Class.newInstance(Class.java:249)
> 
> However, the documentation states:
> 
> Copy the following jars to [tomcat root]/common/lib :
> 
> cactus.jar
> commons-httpclient*.jar
> junit.jar
>  This is the minium set of jars needed.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>