Skip to content

MoskitoUIFilter / VersionUtil should not imply that /WEB-INF/lib and /META-INF exist #116

@FelixJongleur42

Description

@FelixJongleur42

Servlet Container with no \WEB-INF\lib or no \META-INF\ produces this.
Source code already states "this is pretty hacky now"
see http://fossies.org/dox/moskito-moskito-2.7.6/VersionUtil_8java_source.html

2016-08-08 10:22:51,351 ERROR [main] webui.MoskitoUIFilter:49 init(org.eclipse.jetty.servlet.FilterHolder$Config@75d1477a)
java.lang.IllegalArgumentException: Directory <path-to>\WEB-INF\lib doesn't exists.
    at net.anotheria.util.maven.MavenVersionReader.findJarInDirectory(MavenVersionReader.java:120)
    at net.anotheria.moskito.webui.util.VersionUtil.getWebappLibVersion(VersionUtil.java:24)
    at net.anotheria.moskito.webui.MoskitoUIFilter.init(MoskitoUIFilter.java:41)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions