Announcement Announcement Module
Collapse
No announcement yet.
Spring 3 starts from console (mvn tomcat7:run) but not from eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3 starts from console (mvn tomcat7:run) but not from eclipse

    I am using this Spring archetype:
    https://github.com/kolorobot/spring-...tart-archetype

    It starts fine from maven with tomcat7 plugin, but in eclipse it doesnt work (with the latest version of tomcat7)

    Here is the tomcat log from eclipse that i get, it seem it cant bootstrap the application:

    Jul 17, 2013 10:22:26 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    Jul 17, 2013 10:22:26 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:frontend' did not find a matching property.
    Jul 17, 2013 10:22:26 AM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Jul 17, 2013 10:22:26 AM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Jul 17, 2013 10:22:26 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 522 ms
    Jul 17, 2013 10:22:26 AM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jul 17, 2013 10:22:26 AM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
    Jul 17, 2013 10:22:29 AM org.apache.catalina.core.ApplicationContext log
    INFO: No Spring WebApplicationInitializer types detected on classpath
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/st...rmittedTaglibs is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://www.springframework.org/tags is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://www.springframework.org/security/tags is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://tiles.apache.org/tags-tiles-extras is already defined
    Jul 17, 2013 10:22:32 AM org.apache.catalina.core.ApplicationContext log
    INFO: No Spring WebApplicationInitializer types detected on classpath
    Jul 17, 2013 10:22:32 AM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    Jul 17, 2013 10:22:32 AM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-8009"]
    Jul 17, 2013 10:22:32 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 5473 ms
Working...
X