"JBAS015893: Encountered invalid class name" during deployment on JBoss EAP 6
Issue
-
Following warning messages appeared when
jboss-brms.warwas deployed on JBoss EAP 6:JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for service type 'org.apache.cxf.bus.factory' JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory' -
When including Jersey in my application, I get these warning messages:
JBAS015893: Encountered invalid class name 'com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$App' for service type 'javax.ws.rs.ext.MessageBodyReader' JBAS015893: Encountered invalid class name 'com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$Text' for service type 'javax.ws.rs.ext.MessageBodyReader' JBAS015893: Encountered invalid class name 'com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General' for service type 'javax.ws.rs.ext.MessageBodyReader' -
On deploying the application that uses Saxon version 9.4.0.4 EE in the Jboss server we noticed the following warning:
WARN [org.jboss.as.server.deployment] (MSC service thread 1-34) JBAS015893: Encountered invalid class name 'http\://www.w3.org/2001/XMLSchema: com.saxonica.jaxp.SchemaFactoryImpl' for service type 'javax.xml.validation.SchemaFactory'
WARN [org.jboss.as.server.deployment] (MSC service thread 1-34) JBAS015893: Encountered invalid class name 'http\://java.sun.com/jaxp/xpath/dom:
What is the source of these warning messages and how can it be resolved ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- Red Hat JBoss Enterprise Business Rules Management System Platform (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.