ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spies, Brennan" <>
Subject RE: Publish/export dependencies for IvyDE
Date Tue, 27 Jan 2009 22:18:53 GMT
OK, tried that and I am seeing the Publish/export for WEB-INF/lib under the classpath container
(just as I did with m2eclipse). After adding my POM dependencies (including), I can see all
of them under the container in the Project Explorer too. But when I run Tomcat, I am seeing
the following (the same problem I saw using m2eclipse):

SEVERE: Exception starting filter AuthenticationFilter
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
        at com.ejgallo.mwo.web.AuthenticationFilter.<clinit>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at java.lang.Class.newInstance0(
        at java.lang.Class.newInstance(
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(
        at org.apache.catalina.core.StandardContext.filterStart(
        at org.apache.catalina.core.StandardContext.start(
        at org.apache.catalina.core.ContainerBase.start(
        at org.apache.catalina.core.StandardHost.start(
        at org.apache.catalina.core.ContainerBase.start(
        at org.apache.catalina.core.StandardEngine.start(
        at org.apache.catalina.core.StandardService.start(
        at org.apache.catalina.core.StandardServer.start(
        at org.apache.catalina.startup.Catalina.start(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.catalina.startup.Bootstrap.start(
        at org.apache.catalina.startup.Bootstrap.main(

If I manually dump the same jars in my WEB-INF/lib, the problem goes away...Any ideas? (If
I use a static block around the log4j logger initialization and try-catch the exception, it
is a ClassNotFoundException at the root of the problem.)

Brennan Spies
Sr. Programmer Analyst

No, things don't all go the way they should,
But I know the heart of life is good...
-- John Mayer

-----Original Message-----
From: Partridge, Michael []
Sent: Tuesday, January 27, 2009 1:30 PM
Subject: RE: Publish/export dependencies for IvyDE

See the IvyDE FAQ:

-----Original Message-----
From: Spies, Brennan []
Sent: Tuesday, January 27, 2009 3:21 PM
Subject: Publish/export dependencies for IvyDE


I'm new to Ivy/IvyDE, but I was wondering about the feature
functionality of the plug-in, specifically the ability to export the
IvyDE classpath container's dependencies (for example) to the
WEB-INF/lib in an Eclipse WTP project so that they are on your classpath
when you run a server like Tomcat.  (I am thinking here of something
that m2eclipse does now.)

Brennan Spies
Sr. Programmer Analyst

CONFIDENTIALITY NOTICE: This electronic message transmission is
intended only for the person or the entity to which it is addressed
and may contain information that is privileged, confidential or
otherwise protected from disclosure. If you have received this
transmission, but are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or use of the
contents of this information is strictly prohibited. If you have
received this e-mail in error, please contact the sender of the
e-mail and destroy the original message and all copies.

View raw message