Coder Social home page Coder Social logo

Comments (1)

thibaultmeyer avatar thibaultmeyer commented on July 20, 2024

Got it,

For some reason I have to remove the listener from the web.xml file so that the application only starts once. Maybe a new feature introduced by updating some module...

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0"
         metadata-complete="true">

    <display-name>ninja</display-name>

    <!--<listener>
        <listener-class>ninja.servlet.NinjaServletListener</listener-class>
    </listener>-->

    <filter>
        <filter-name>guiceFilter</filter-name>
        <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>guiceFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

</web-app>

Here the dependency tree of the project:

[INFO] com.thibaultmeyer:sparrow:jar:1.0.0-SNAPSHOT
[INFO] +- org.ninjaframework:ninja-core:jar:6.8.2-SNAPSHOT:compile
[INFO] |  +- org.ocpsoft.prettytime:prettytime:jar:4.0.2.Final:compile
[INFO] |  +- joda-time:joda-time:jar:2.10.1:compile
[INFO] |  +- com.google.inject:guice:jar:5.0.1:compile
[INFO] |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  +- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  |  \- com.google.guava:guava:jar:30.1-jre:compile
[INFO] |  |     +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |     +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |     +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |     +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] |  |     \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] |  +- com.google.inject.extensions:guice-assistedinject:jar:5.0.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.12.2:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.2:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.12.2:compile
[INFO] |  +- org.freemarker:freemarker-gae:jar:2.3.29:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.15:compile
[INFO] |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] |  |  +- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] |  |  \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.30:compile
[INFO] |  +- org.slf4j:log4j-over-slf4j:jar:1.7.30:compile
[INFO] |  +- commons-io:commons-io:jar:2.11.0:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] |  +- commons-configuration:commons-configuration:jar:1.10:compile
[INFO] |  |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.4:compile
[INFO] |  +- org.hibernate:hibernate-validator:jar:4.3.1.Final:compile
[INFO] |  |  \- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.12.2:compile
[INFO] |  |  +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.2:compile
[INFO] |  |  |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] |  |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] |  |  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] |  +- com.fasterxml.woodstox:woodstox-core:jar:5.2.0:compile
[INFO] |  +- net.sf.ehcache:ehcache-core:jar:2.6.11:compile
[INFO] |  +- net.spy:spymemcached:jar:2.12.3:compile
[INFO] |  +- org.flywaydb:flyway-core:jar:8.2.2:compile
[INFO] |  +- com.google.inject.extensions:guice-persist:jar:5.0.1:compile
[INFO] |  \- javax.xml.bind:jaxb-api:jar:2.3.0:compile
[INFO] +- org.ninjaframework:ninja-db-classic:jar:6.8.2-SNAPSHOT:compile
[INFO] +- org.ninjaframework:ninja-test-utilities:jar:6.8.2-SNAPSHOT:test
[INFO] |  +- org.hamcrest:java-hamcrest:jar:2.0.0.0:test
[INFO] |  +- junit:junit:jar:4.13.2:test
[INFO] |  |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] |  +- org.mockito:mockito-core:jar:3.8.0:test
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.10.20:test
[INFO] |  |  \- org.objenesis:objenesis:jar:3.1:test
[INFO] |  +- org.fluentlenium:fluentlenium-junit:jar:3.10.1:test
[INFO] |  |  \- org.fluentlenium:fluentlenium-core:jar:3.10.1:test
[INFO] |  |     +- org.seleniumhq.selenium:selenium-remote-driver:jar:3.141.59:test
[INFO] |  |     +- org.atteo.classindex:classindex:jar:3.9:test
[INFO] |  |     +- org.apache.commons:commons-text:jar:1.9:test
[INFO] |  |     +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] |  |     |  \- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] |  |     \- io.appium:java-client:jar:7.3.0:test
[INFO] |  |        +- com.google.code.gson:gson:jar:2.8.5:test
[INFO] |  |        +- cglib:cglib:jar:3.2.12:test
[INFO] |  |        |  \- org.ow2.asm:asm:jar:7.1:test
[INFO] |  |        +- commons-validator:commons-validator:jar:1.6:test
[INFO] |  |        |  +- commons-beanutils:commons-beanutils:jar:1.9.2:test
[INFO] |  |        |  +- commons-digester:commons-digester:jar:1.8.1:test
[INFO] |  |        |  \- commons-collections:commons-collections:jar:3.2.2:test
[INFO] |  |        +- org.springframework:spring-context:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-aop:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-beans:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-core:jar:5.1.8.RELEASE:test
[INFO] |  |        |  |  \- org.springframework:spring-jcl:jar:5.1.8.RELEASE:test
[INFO] |  |        |  \- org.springframework:spring-expression:jar:5.1.8.RELEASE:test
[INFO] |  |        \- org.aspectj:aspectjweaver:jar:1.9.4:test
[INFO] |  +- org.seleniumhq.selenium:htmlunit-driver:jar:2.47.1:test
[INFO] |  |  +- org.seleniumhq.selenium:selenium-api:jar:3.141.59:test
[INFO] |  |  +- org.seleniumhq.selenium:selenium-support:jar:3.141.59:test
[INFO] |  |  |  +- org.apache.commons:commons-exec:jar:1.3:test
[INFO] |  |  |  +- com.squareup.okhttp3:okhttp:jar:3.11.0:test
[INFO] |  |  |  \- com.squareup.okio:okio:jar:1.14.0:test
[INFO] |  |  \- net.sourceforge.htmlunit:htmlunit:jar:2.47.1:test
[INFO] |  |     +- xalan:xalan:jar:2.7.2:test
[INFO] |  |     |  \- xalan:serializer:jar:2.7.2:test
[INFO] |  |     +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.47.0:test
[INFO] |  |     +- net.sourceforge.htmlunit:neko-htmlunit:jar:2.47.1:test
[INFO] |  |     |  \- xerces:xercesImpl:jar:2.12.0:test
[INFO] |  |     |     \- xml-apis:xml-apis:jar:1.4.01:test
[INFO] |  |     +- net.sourceforge.htmlunit:htmlunit-cssparser:jar:1.7.0:test
[INFO] |  |     +- commons-net:commons-net:jar:3.7.2:test
[INFO] |  |     +- org.brotli:dec:jar:0.1.2:test
[INFO] |  |     \- com.shapesecurity:salvation2:jar:3.0.0:test
[INFO] |  +- org.eclipse.jetty:jetty-client:jar:9.4.44.v20210927:compile
[INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.4.44.v20210927:compile
[INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.4.44.v20210927:compile
[INFO] |  +- org.eclipse.jetty.websocket:websocket-client:jar:9.4.44.v20210927:compile
[INFO] |  |  +- org.eclipse.jetty:jetty-util:jar:9.4.44.v20210927:compile
[INFO] |  |  \- org.eclipse.jetty.websocket:websocket-common:jar:9.4.44.v20210927:compile
[INFO] |  |     \- org.eclipse.jetty.websocket:websocket-api:jar:9.4.44.v20210927:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:test
[INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.13:test
[INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[INFO] |  +- org.doctester:doctester-core:jar:1.1.8:test
[INFO] |  \- com.devbliss.doctest:doctest:jar:0.9.1:test
[INFO] |     +- de.devbliss.apitester:apitester:jar:0.8.0:test
[INFO] |     |  \- com.fasterxml:jackson-xml-databind:jar:0.6.2:test
[INFO] |     |     +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:test
[INFO] |     |     |  \- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:test
[INFO] |     |     \- org.codehaus.jackson:jackson-xc:jar:1.9.2:test
[INFO] |     +- org.json:org.json:jar:chargebee-1.0:test
[INFO] |     \- javax.activation:activation:jar:1.1.1:test
[INFO] +- com.ibm.icu:icu4j:jar:70.1:compile
[INFO] +- org.commonmark:commonmark:jar:0.18.1:compile
[INFO] +- org.commonmark:commonmark-ext-gfm-strikethrough:jar:0.18.1:compile
[INFO] +- org.commonmark:commonmark-ext-ins:jar:0.18.1:compile
[INFO] +- com.h2database:h2:jar:2.0.206:compile
[INFO] +- org.postgresql:postgresql:jar:42.3.1:compile
[INFO] |  \- org.checkerframework:checker-qual:jar:3.5.0:compile
[INFO] +- org.webjars:bootstrap:jar:5.1.3:compile
[INFO] |  \- org.webjars:popper.js:jar:2.9.3:compile
[INFO] +- org.webjars:jquery:jar:3.6.0:compile
[INFO] +- org.webjars.bowergithub.popperjs:popper-core:jar:2.9.2:compile
[INFO] +- org.webjars:font-awesome:jar:5.15.4:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:5.6.3.Final:compile
[INFO] |  +- org.hibernate:hibernate-core:jar:5.6.3.Final:compile
[INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  +- org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] |  |  +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] |  |  +- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] |  |  \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.1:compile
[INFO] |  |     +- org.glassfish.jaxb:txw2:jar:2.3.1:compile
[INFO] |  |     +- com.sun.istack:istack-commons-runtime:jar:3.0.7:compile
[INFO] |  |     +- org.jvnet.staxex:stax-ex:jar:1.8:compile
[INFO] |  |     \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.15:compile
[INFO] |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.2.Final:compile
[INFO] |  +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] |  +- net.bytebuddy:byte-buddy:jar:1.11.20:compile
[INFO] |  \- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:compile
[INFO] +- org.hibernate:hibernate-c3p0:jar:5.6.3.Final:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile
[INFO] |  \- com.mchange:c3p0:jar:0.9.5.5:compile
[INFO] |     \- com.mchange:mchange-commons-java:jar:0.2.19:compile
[INFO] \- org.ninjaframework:ninja-standalone:jar:6.8.2-SNAPSHOT:compile
[INFO]    +- org.ninjaframework:ninja-servlet:jar:6.8.2-SNAPSHOT:compile
[INFO]    |  +- org.ninjaframework:ninja-websockets-jsr356:jar:6.8.2-SNAPSHOT:compile
[INFO]    |  \- com.google.inject.extensions:guice-servlet:jar:5.0.1:compile
[INFO]    +- org.eclipse.jetty:jetty-server:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty:jetty-servlet:jar:9.4.44.v20210927:compile
[INFO]    |  +- org.eclipse.jetty:jetty-security:jar:9.4.44.v20210927:compile
[INFO]    |  \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty:jetty-xml:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty.websocket:javax-websocket-server-impl:jar:9.4.44.v20210927:compile
[INFO]    |  +- org.eclipse.jetty.websocket:javax-websocket-client-impl:jar:9.4.44.v20210927:compile
[INFO]    |  |  \- javax.websocket:javax.websocket-client-api:jar:1.0:compile
[INFO]    |  \- org.eclipse.jetty.websocket:websocket-server:jar:9.4.44.v20210927:compile
[INFO]    |     \- org.eclipse.jetty.websocket:websocket-servlet:jar:9.4.44.v20210927:compile
[INFO]    +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO]    \- javax.websocket:javax.websocket-api:jar:1.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.695 s
[INFO] Finished at: 2022-01-16T20:36:45+01:00
[INFO] ------------------------------------------------------------------------

from ninja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.