Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Class library visibility issues with Maven in Eclipse.

    5 answers - 1741 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    I'm trying to use the latest snapshot builds of Tapestry via Maven for
    the project I'm working on in Eclipse. I use Tomcat via a launcher from
    Eclipse to debug the application and have had 0 problems with it while
    adding library jars to the WEB-INF/lib directory of the project I work
    on. Now that I'm using Maven though the libraries are stored in the
    local repository and not under WEB-INF/lib and this is causing issues
    with debugging via Tomcat. I'm sure this is a class loading issue but
    when I start Tomcat from Eclipse the application fails to start and I
    get this error:
    SEVERE: Exception starting filter redirect
    at
    (WebappClassLoader.java:1352)
    at
    (WebappClassLoader.java:1198)
    at
    ()
    at
    ()
    at
    <init>()
    at
    (StandardContext.java:3600)
    at
    (StandardContext.java:4193)
    at (ContainerBase.java:1013)
    at (StandardHost.java:718)
    at (ContainerBase.java:1013)
    at
    (StandardEngine.java:442)
    at
    (StandardService.java:450)
    at
    (StandardServer.java:709)
    at (Catalina.java:551)
    at (Native Method)
    at (Unknown Source)
    at (Unknown Source)
    at (Unknown Source)
    at (Bootstrap.java:294)
    at (Bootstrap.java:432)
    7, 2006 11:28:37 PM start
    SEVERE: Error filterStart
    So Tomcat can't locate Tapestry libraries. My application compiles fine
    so the compiler can see them in Eclipse just fine. Is there a
    configuration option I'm missing or is there another solution?
    Thanks.
    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.1 | | 2166 bytes | |

    I'd use jetty if given the choice during development. It literally only
    takes a line or two to make your pom.xml capable of running your existing
    web app without doing anything else. Very nice/convenient.

    Look at TimeTracker's pom.xml for an example. It's what I use during dev at
    least(most of the time)

    10/8/06, Leo Sakhvoruk <leo.sakhvoruk (AT) gmail (DOT) comwrote:

    Hi,

    I'm trying to use the latest snapshot builds of Tapestry via Maven for
    the project I'm working on in Eclipse. I use Tomcat via a launcher from
    Eclipse to debug the application and have had 0 problems with it while
    adding library jars to the WEB-INF/lib directory of the project I work
    on. Now that I'm using Maven though the libraries are stored in the
    local repository and not under WEB-INF/lib and this is causing issues
    with debugging via Tomcat. I'm sure this is a class loading issue but
    when I start Tomcat from Eclipse the application fails to start and I
    get this error:

    SEVERE: Exception starting filter redirect

    at
    (
    WebappClassLoader.java:1352)
    at
    (
    WebappClassLoader.java:1198)
    at
    (
    )
    at
    (
    )
    at
    <init>(
    )
    at
    (StandardContext.java
    :3600)
    at
    (StandardContext.java:4193)
    at (ContainerBase.java
    :1013)
    at (StandardHost.java:718)
    at (ContainerBase.java
    :1013)
    at
    (StandardEngine.java:442)
    at
    (StandardService.java:450)
    at
    (StandardServer.java:709)
    at (Catalina.java:551)
    at (Native Method)
    at (Unknown Source)
    at (Unknown Source)
    at (Unknown Source)
    at (Bootstrap.java:294)
    at (Bootstrap.java:432)
    7, 2006 11:28:37 PM start
    SEVERE: Error filterStart

    So Tomcat can't locate Tapestry libraries. My application compiles fine
    so the compiler can see them in Eclipse just fine. Is there a
    configuration option I'm missing or is there another solution?

    Thanks.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    --
  • No.2 | | 2661 bytes | |

    If you want to stick to tomcat (tighter integration with eclipse through WTP
    or other plugins, running webapps in debug, ), there's a nice tutorial
    for the setup at
    %3C44D0CCC4.5000402 (AT) najdi (DOT) si%3E.
    I use this and it works fine (although I had to tweak a few things,
    ask me
    if you want more details)

    HTH
    Ch.

    2006/10/8, Jesse Kuhnert <jkuhnert (AT) gmail (DOT) com>:

    I'd use jetty if given the choice during development. It literally only
    takes a line or two to make your pom.xml capable of running your existing
    web app without doing anything else. Very nice/convenient.

    Look at TimeTracker's pom.xml for an example. It's what I use during dev
    at
    least(most of the time)

    10/8/06, Leo Sakhvoruk <leo.sakhvoruk (AT) gmail (DOT) comwrote:

    Hi,

    I'm trying to use the latest snapshot builds of Tapestry via Maven for
    the project I'm working on in Eclipse. I use Tomcat via a launcher from
    Eclipse to debug the application and have had 0 problems with it while
    adding library jars to the WEB-INF/lib directory of the project I work
    on. Now that I'm using Maven though the libraries are stored in the
    local repository and not under WEB-INF/lib and this is causing issues
    with debugging via Tomcat. I'm sure this is a class loading issue but
    when I start Tomcat from Eclipse the application fails to start and I
    get this error:

    SEVERE: Exception starting filter redirect

    at
    (
    WebappClassLoader.java:1352)
    at
    (
    WebappClassLoader.java:1198)
    at
    (
    )
    at
    (
    )
    at
    <init>(
    )
    at
    (
    StandardContext.java
    :3600)
    at
    (StandardContext.java
    :4193)
    at (ContainerBase.java
    :1013)
    at (StandardHost.java
    :718)
    at (ContainerBase.java
    :1013)
    at
    (StandardEngine.java:442)
    at
    (StandardService.java:450)
    at
    (StandardServer.java:709)
    at (Catalina.java:551)
    at (Native Method)
    at (Unknown Source)
    at (Unknown Source)
    at (Unknown Source)
    at (Bootstrap.java:294)
    at (Bootstrap.java:432)
    7, 2006 11:28:37 PM start
    SEVERE: Error filterStart

    So Tomcat can't locate Tapestry libraries. My application compiles fine
    so the compiler can see them in Eclipse just fine. Is there a
    configuration option I'm missing or is there another solution?

    Thanks.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    >
    >
    >
    >
  • No.3 | | 3971 bytes | |

    Awesome,

    Thanks for the suggestion guys! I'll try the tutorial first and then if
    that doesn't work I'll check out Jetty.

    Christian Dutaret wrote:
    If you want to stick to tomcat (tighter integration with eclipse
    through WTP
    or other plugins, running webapps in debug, ), there's a nice tutorial
    for the setup at
    %3C44D0CCC4.5000402 (AT) najdi (DOT) si%3E.

    I use this and it works fine (although I had to tweak a few things,
    ask me
    if you want more details)

    HTH
    Ch.

    2006/10/8, Jesse Kuhnert <jkuhnert (AT) gmail (DOT) com>:
    >>

    >I'd use jetty if given the choice during development. It literally only
    >takes a line or two to make your pom.xml capable of running your
    >existing
    >web app without doing anything else. Very nice/convenient.
    >>

    >Look at TimeTracker's pom.xml for an example. It's what I use during dev
    >at
    >least(most of the time)
    >>

    >10/8/06, Leo Sakhvoruk <leo.sakhvoruk (AT) gmail (DOT) comwrote:
    >>

    >Hi,
    >>

    >I'm trying to use the latest snapshot builds of Tapestry via Maven for
    >the project I'm working on in Eclipse. I use Tomcat via a launcher
    >from
    >Eclipse to debug the application and have had 0 problems with it while
    >adding library jars to the WEB-INF/lib directory of the project I work
    >on. Now that I'm using Maven though the libraries are stored in the
    >local repository and not under WEB-INF/lib and this is causing issues
    >with debugging via Tomcat. I'm sure this is a class loading issue but
    >when I start Tomcat from Eclipse the application fails to start and I
    >get this error:
    >>

    >SEVERE: Exception starting filter redirect
    >
    >at
    >(
    >WebappClassLoader.java:1352)
    >at
    >(
    >WebappClassLoader.java:1198)
    >at
    >(
    >)
    >at
    >(
    >)
    >at
    ><init>(
    >)
    >at
    >(
    >StandardContext.java
    >:3600)
    >at
    >(StandardContext.java
    >:4193)
    >at (ContainerBase.java
    >:1013)
    >at (StandardHost.java
    >:718)
    >at (ContainerBase.java
    >:1013)
    >at
    >(StandardEngine.java:442)
    >at
    >
    >(StandardService.java:450)
    >at
    >(StandardServer.java:709)
    >at (Catalina.java:551)
    >at (Native Method)
    >at (Unknown Source)
    >at (Unknown Source)
    >at (Unknown Source)
    >at (Bootstrap.java:294)
    >at (Bootstrap.java:432)
    >7, 2006 11:28:37 PM start
    >SEVERE: Error filterStart
    >>

    >So Tomcat can't locate Tapestry libraries. My application compiles
    >fine
    >so the compiler can see them in Eclipse just fine. Is there a
    >configuration option I'm missing or is there another solution?
    >>

    >Thanks.
    >>

    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    >>
    >>
    >>
    >>

    >--
    >Jesse Kuhnert
    >Tapestry/Dojo/(and a dash of TestNG), team member/developer
    >>

    >source based consulting work centered around
    >dojo/tapestry/tacos/hivemind.
    >>
    >>

    >


    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.4 | | 3348 bytes | |

    I've tried setting up Jetty to be used via Maven and I'm having trouble
    getting Jetty to start. I can't seem to get a hold of that TimeTracker
    pom as the link on the tapestry site takes me to an empty page. Is there
    a chance you could provide a link to TimeTracker so I can take a look at
    it's pom file Jesse?

    Thanks

    Jesse Kuhnert wrote:
    I'd use jetty if given the choice during development. It literally only
    takes a line or two to make your pom.xml capable of running your existing
    web app without doing anything else. Very nice/convenient.

    Look at TimeTracker's pom.xml for an example. It's what I use during
    dev at
    least(most of the time)

    10/8/06, Leo Sakhvoruk <leo.sakhvoruk (AT) gmail (DOT) comwrote:
    >>

    >Hi,
    >>

    >I'm trying to use the latest snapshot builds of Tapestry via Maven for
    >the project I'm working on in Eclipse. I use Tomcat via a launcher from
    >Eclipse to debug the application and have had 0 problems with it while
    >adding library jars to the WEB-INF/lib directory of the project I work
    >on. Now that I'm using Maven though the libraries are stored in the
    >local repository and not under WEB-INF/lib and this is causing issues
    >with debugging via Tomcat. I'm sure this is a class loading issue but
    >when I start Tomcat from Eclipse the application fails to start and I
    >get this error:
    >>

    >SEVERE: Exception starting filter redirect
    >
    >at
    >(
    >WebappClassLoader.java:1352)
    >at
    >(
    >WebappClassLoader.java:1198)
    >at
    >(
    >)
    >at
    >(
    >)
    >at
    ><init>(
    >)
    >at
    >(StandardContext.java
    >>

    >:3600)
    >at
    >(StandardContext.java:4193)
    >>

    >at (ContainerBase.java
    >:1013)
    >at
    >(StandardHost.java:718)
    >at (ContainerBase.java
    >:1013)
    >at
    >(StandardEngine.java:442)
    >at
    >(StandardService.java:450)
    >at
    >(StandardServer.java:709)
    >at (Catalina.java:551)
    >at (Native Method)
    >at (Unknown Source)
    >at (Unknown Source)
    >at (Unknown Source)
    >at (Bootstrap.java:294)
    >at (Bootstrap.java:432)
    >7, 2006 11:28:37 PM start
    >SEVERE: Error filterStart
    >>

    >So Tomcat can't locate Tapestry libraries. My application compiles fine
    >so the compiler can see them in Eclipse just fine. Is there a
    >configuration option I'm missing or is there another solution?
    >>

    >Thanks.
    >>

    >
    >To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    >For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    >>
    >>

    >
    >


    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.5 | | 413 bytes | |

    10/9/06, Leo Sakhvoruk <leo.sakhvoruk (AT) gmail (DOT) comwrote:
    I've tried setting up Jetty to be used via Maven and I'm having trouble
    getting Jetty to start. I can't seem to get a hold of that TimeTracker
    pom as the link on the tapestry site takes me to an empty page. Is there
    a chance you could provide a link to TimeTracker so I can take a look at
    it's pom file Jesse?

Re: Class library visibility issues with Maven in Eclipse.


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "Java"

EMSDN.COM