jcabi / jcabi/jcabi-github

validation.xml ?

Open
#1,347 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

Hi,

What’s the file [validation.xml](https://github.com/jcabi/jcabi-aspects/blob/master/src/main/resources/META-INF/validation.xml) for in `META-INF` in `jcabi-aspects-0.22.5.jar`?

That file makes Glassfish refuse to deploy my application (which includes jcabi-github, hence, jcabi-aspects by transitive dependency mechanisms).

Glassfish complains when deploying (in its log file), as follows (partial).
```
[2018-02-05T00:33:49.083+0100] [glassfish 4.1] [INFO] []
[org.hibernate.validator.internal.xml.ValidationXmlParser]
[tid: _ThreadID=44 _ThreadName=AutoDeployer]
[timeMillis: 1517787229083] [levelValue: 800] [[
HV000007: META-INF/validation.xml found. Parsing XML based configuration.]]

[2018-02-05T00:33:49.104+0100] [glassfish 4.1] [WARNING] []
[org.glassfish.jersey.internal.Errors]
[tid: _ThreadID=44 _ThreadName=AutoDeployer]
[timeMillis: 1517787229104] [levelValue: 900] [[
The following warnings have been detected: WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 1
org.apache.xerces.impl.dv.ObjectFactory$ConfigurationError:
Provider org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl could not be instantiated:
java.lang.IllegalStateException: This web container has not yet been started
```

(I ask here rather than in jcabi-aspects because this bug hits me as a user of jcabi-github, and possible solutions might be available because of this. Sorry if it is inappopriate.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.